CVE-2024-21531
All versions of the package git-shallow-clone are vulnerable to …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/10uei011/git-shallow-clone/blob/master/index.js%23L27
- security.snyk.io/vuln/SNYK-JS-GITSHALLOWCLONE-3253853
- nvd.nist.gov/vuln/detail/CVE-2024-21531
- github.com/10uei011/git-shallow-clone/blob/master/index.js#L27
- github.com/advisories/GHSA-qwrq-vxvw-537r
- nvd.nist.gov/vuln/detail/CVE-2024-21531
- cve.org/CVERecord?id=CVE-2024-21531
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.