{"id":"GHSA-qwrq-vxvw-537r","summary":"git-shallow-clone Argument Injection vulnerability","details":"All versions of the package git-shallow-clone are vulnerable to Argument injection due to missing sanitization or mitigation flags in the process variable of the gitShallowClone function.","aliases":["CVE-2024-21531"],"modified":"2024-11-07T18:36:33Z","published":"2024-10-01T06:30:47Z","database_specific":{"nvd_published_at":"2024-10-01T05:15:12Z","cwe_ids":["CWE-88"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-10-01T18:10:26Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21531"},{"type":"PACKAGE","url":"https://github.com/10uei011/git-shallow-clone"},{"type":"WEB","url":"https://github.com/10uei011/git-shallow-clone/blob/master/index.js#L27"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-GITSHALLOWCLONE-3253853"}],"affected":[{"package":{"name":"git-shallow-clone","ecosystem":"npm","purl":"pkg:npm/git-shallow-clone"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-qwrq-vxvw-537r/GHSA-qwrq-vxvw-537r.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"}]}