Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| The-Guild | Graphql-Tools | < 6.2.6 |
Related Weaknesses (CWE)
References
- https://advisory.checkmarx.net/advisory/CX-2020-4300Third Party Advisory
- https://github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4aPatchThird Party Advisory
- https://github.com/ardatan/graphql-tools/pull/2470PatchThird Party Advisory
- https://github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loaRelease NotesThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543ProductThird Party Advisory
- https://advisory.checkmarx.net/advisory/CX-2020-4300Third Party Advisory
- https://github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4aPatchThird Party Advisory
- https://github.com/ardatan/graphql-tools/pull/2470PatchThird Party Advisory
- https://github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loaRelease NotesThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543ProductThird Party Advisory
FAQ
What is CVE-2021-23326?
CVE-2021-23326 is a vulnerability with a CVSS score of 6.3 (MEDIUM). 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.
How severe is CVE-2021-23326?
CVE-2021-23326 has been rated MEDIUM with a CVSS base score of 6.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-23326?
Check the references section above for vendor advisories and patch information. Affected products include: The-Guild Graphql-Tools.