{"id":"CVE-2021-23326","published":"2021-01-20T12:30:15Z","modified":"2024-09-17T02:15:33Z","title":"Command Injection","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02848,"percentile":0.87036,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543","tags":["x_refsource_MISC"]},{"url":"https://github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4a5c501eac","tags":["x_refsource_MISC"]},{"url":"https://github.com/ardatan/graphql-tools/pull/2470","tags":["x_refsource_MISC"]},{"url":"https://github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loader%406.2.6","tags":["x_refsource_MISC"]},{"url":"https://advisory.checkmarx.net/advisory/CX-2020-4300","tags":["x_refsource_MISC"]}],"priority":{"score":21.8,"factors":[{"name":"EPSS percentile","points":17.41},{"name":"CVSS severity","points":4.41}]},"affectedVersions":[{"vendor":"n/a","product":"@graphql-tools/git-loader","versions":[">= unspecified, < 6.2.6"]}],"affected":[{"ecosystem":"npm","package":"@graphql-tools/git-loader","vulnerableRanges":["<6.2.6"],"patched":["6.2.6"],"from":["GHSA-vhhw-xjvf-wprr"],"provenance":"source"}],"summary":{"text":"The flaw is a command injection vulnerability in the git loader component (packages/loaders/git/src/load-git.ts) of the @graphql-tools/git-loader package, affecting versions before 6.2.6, where exec and execSync are used in a way that allows arbitrary commands to be injected. An attacker can run arbitrary commands over the network with low complexity and no authentication, but only if a user interacts with the affected process, and the impact is limited confidentiality, integrity and availability loss.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:05:07Z"},"euvd":{"id":"EUVD-2021-0518","exploited":false,"provenance":"source"}}