{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-21531","id":"CVE-2024-21531","title":"All versions of the package git-shallow-clone are vulnerable to Command injection due to missing sanitization or miti…","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.","descriptionLong":"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.","published":"2024-10-01T05:00:05.367Z","updated":"2026-06-17T07:09:41.333Z","reserved":"2023-12-22T12:33:20.122Z","status":"Deferred","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P","rating":"medium","source":"snyk"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P","rating":"medium","source":"snyk"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"snyk.io"}],"rating":"medium","products":["git-shallow-clone"],"affectedProducts":[{"vendor":"n/a","product":"git-shallow-clone","defaultStatus":null,"versions":[{"version":"0","lessThan":"*","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-78"],"aliases":[],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-GITSHALLOWCLONE-3253853","tags":[]},{"url":"https://github.com/10uei011/git-shallow-clone/blob/master/index.js%23L27","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00954,"epssPercentile":0.62106,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-21531","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21531","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-21531","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-21531","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}