Vulnerability · Published Jan 20, 2021 · Assigned by snyk
CVE-2021-23326Command Injection
Medium 6.3
In plain English
A medium-severity security flaw in @graphql-tools/git-loader. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.8% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)2.8%top 13.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @graphql-tools/git-loader | 6.2.6 | GHSA-vhhw-xjvf-wprr |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | @graphql-tools/git-loader | unspecified – before 6.2.6 |
References
- https://snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543 x_refsource_MISC
- https://github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4a5c501eac x_refsource_MISC
- https://github.com/ardatan/graphql-tools/pull/2470 x_refsource_MISC
- https://github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loader%406.2.6 x_refsource_MISC
- https://advisory.checkmarx.net/advisory/CX-2020-4300 x_refsource_MISC