CVE-2021-23326
The-guild Graphql-tools vulnerability
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 products
Graphql-tools. The exact versions are in the references.
What to do now
- Check your exposureFind out whether The-guild Graphql-tools runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4a5c501eac · Patch
- github.com/ardatan/graphql-tools/pull/2470 · Patch
- advisory.checkmarx.net/advisory/CX-2020-4300 · Third Party Advisory
- github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loader%406.2.6 · Third Party Advisory
- snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-23326
- cve.org/CVERecord?id=CVE-2021-23326
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.