CVE-2021-23326: Improper Neutralization of Special Elements used in a Command ('Command Injection')
(updated )
This affects the package @graphql-tools/git-loader The use of exec and execSync in packages/loaders/git/src/load-git.ts allows arbitrary command injection.
References
- advisory.checkmarx.net/advisory/CX-2020-4300
- github.com/advisories/GHSA-vhhw-xjvf-wprr
- github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4a5c501eac
- github.com/ardatan/graphql-tools/pull/2470
- github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loader%406.2.6
- nvd.nist.gov/vuln/detail/CVE-2021-23326
- snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543
Detect and mitigate CVE-2021-23326 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →