{"id":"CVE-2024-21531","state":"PUBLISHED","title":"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 fun","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.","publishedAt":"2024-10-01T05:00:05.367Z","updatedAt":"2024-11-07T15:26:05.308Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P","source":"snyk"},"assigner":"snyk","products":["n/a git-shallow-clone"],"affected":[{"vendor":"n/a","product":"git-shallow-clone","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"semver"}]}],"references":["https://security.snyk.io/vuln/SNYK-JS-GITSHALLOWCLONE-3253853","https://github.com/10uei011/git-shallow-clone/blob/master/index.js%23L27"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:06:59.846Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/21xxx/CVE-2024-21531.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-21531","state":"PUBLISHED","datePublished":"2024-10-01T05:00:05.367Z","dateUpdated":"2024-11-07T15:26:05.308Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2023-12-22T12:33:20.122Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"git-shallow-clone","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"semver"}]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-GITSHALLOWCLONE-3253853"},{"url":"https://github.com/10uei011/git-shallow-clone/blob/master/index.js%23L27"}],"metrics":[{"cvssV3_1":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","description":"Command injection","lang":"en"}]}],"providerMetadata":{"shortName":"snyk","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateUpdated":"2024-11-07T15:26:05.308Z"},"credits":[{"value":"Liran Tal - Snyk Research Team","lang":"en"}]},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"git","product":"git-shallow-clone","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"semver"}],"cpes":["cpe:2.3:a:git:git-shallow-clone:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-01T13:47:26.389965Z","id":"CVE-2024-21531","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-01T13:53:14.945Z"}}]}}}