RCE in The-Guild Graphql-Tools
CVE-2021-23326
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.028 (86.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 86.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.028 · newest: 0.028 · change: 0.000
Affected products
- The-Guild Graphql-Tools
- @Graphql-Tools/git-Loader — versions unspecified
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543 (Product, Third Party Advisory)
- github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4a5c501eac (Patch, Third Party Advisory)
- github.com/ardatan/graphql-tools/pull/2470 (Patch, Third Party Advisory)
- github.com/ardatan/graphql-tools/releases/tag/@graphql-tools/git-loader@6.2.6 (Third Party Advisory, Release Notes)
- advisory.checkmarx.net/advisory/CX-2020-4300 (Third Party Advisory)
Frequently asked questions
- What is CVE-2021-23326?
- CVE-2021-23326 is a medium-severity vulnerability in The-Guild Graphql-Tools, classified under OS Command Injection. CVSS score: 6.3/10. Published 2021-01-20.
- How severe is CVE-2021-23326?
- Medium severity. CVSS v3 base score is 6.3 out of 10.