high8.8
CVE-2021-23326
Command Injection in @graphql-tools/git-loader
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @graphql-tools/git-loader | < 6.2.6 | 6.2.6 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| The-Guild | Graphql-Tools | before 6.2.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://advisory.checkmarx.net/advisory/CX-2020-4300
- https://github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4a5c501eac
- https://github.com/ardatan/graphql-tools/pull/2470
- https://github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loader%406.2.6
- https://snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543
- https://github.com/advisories/GHSA-vhhw-xjvf-wprr
- https://nvd.nist.gov/vuln/detail/CVE-2021-23326