CVE-2021-23326
6.3medium
Command Injection
- Severity
- 6.3medium CVSS:3.1 by snyk
- Exploit likelihood
- 2.85% (higher than 87% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-vhhw-xjvf-wprrSNYK-JS-GRAPHQLTOOLSGITLOADER-1062543
Description
This affects the package @graphql-tools/git-loader before 6.2.6. The use of exec and execSync in packages/loaders/git/src/load-git.ts allows arbitrary command injection.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| @graphql-tools/git-loader | from unspecified before 6.2.6 | CVE List |
| @graphql-tools/git-loader (npm) | before 6.2.6 | GitHub Advisory Database |
| the-guild graphql-tools | before 6.2.6 | NVD |
All scores
| snyk | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
This affects the package @graphql-tools/git-loader before 6.2.6. The use of exec and execSync in packages/loaders/git/src/load-git.ts allows arbitrary command injection.
NVD (es)
Esto afecta al paquete @graphql-tools/git-loader versiones anteriores a 6.2.6. El uso de exec y execSync en el archivo packages/loaders/git/src/load-git.ts permite una inyección de comandos arbitrarios
References
| https://snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543 | product, third-party-advisory, web | |
| https://github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4a5c501eac | patch, third-party-advisory, web | |
| https://github.com/ardatan/graphql-tools/pull/2470 | patch, third-party-advisory, web | |
| https://github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loader%406.2.6 | release-notes, third-party-advisory, web | |
| https://advisory.checkmarx.net/advisory/CX-2020-4300 | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-23326 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23326 changed 2024-09-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vhhw-xjvf-wprr changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-23326 changed 2026-06-17 | Public domain |