{"cve":"CVE-2024-21531","nvd":{"published":"2024-10-01T05:15:12.440","modified":"2026-06-17T07:09:41.333","status":"Deferred","description":"All versions of the package git-shallow-clone are vulnerable to Command injection due to missing sanitization or mitigation flags in the process variable of the gitShallowClone function.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3},"cwes":["CWE-78"],"references":["https://github.com/10uei011/git-shallow-clone/blob/master/index.js%23L27","https://security.snyk.io/vuln/SNYK-JS-GITSHALLOWCLONE-3253853"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:55:31.737901711+00:00"},"epss":{"cve":"CVE-2024-21531","score":0.00954,"percentile":0.61378,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-qwrq-vxvw-537r","url":"https://osv.dev/vulnerability/GHSA-qwrq-vxvw-537r","summary":"git-shallow-clone Argument Injection vulnerability","modified":"2024-11-07T18:36:33Z","packages":[{"ecosystem":"npm","name":"git-shallow-clone","purl":"pkg:npm/git-shallow-clone","ranges":["<=0.0.2"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}