{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-21531","published":"2024-10-01T05:15:12.440000Z","last_modified":"2026-06-17T07:09:41.333000Z","status":"Deferred","cvss":{"version":"3.1","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","source":"report@snyk.io","primary":false},"auth":true,"cwes":["CWE-78"],"cpes":[],"cpes_truncated":false,"vendors":["git"],"products":["git/git-shallow-clone"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.01602,"percentile":0.76247,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-qwrq-vxvw-537r","ecosystem":"npm","name":"git-shallow-clone","purl":"pkg:npm/git-shallow-clone","ranges":[{"introduced":"0","last_affected":"0.0.2"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2024-21531/","html_en":"/en/cve/CVE-2024-21531/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-21531","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-21531"},"untrusted":{"vendor_name":"git","product_name":"git-shallow-clone","desc_en":"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.","affected":[{"untrusted_vendor":"git","untrusted_product":"git-shallow-clone","versions":[]}],"references":[{"url":"https://github.com/10uei011/git-shallow-clone/blob/master/index.js%23L27","tags":[]},{"url":"https://security.snyk.io/vuln/SNYK-JS-GITSHALLOWCLONE-3253853","tags":[]}]}}