Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/10uei011/git-shallow-clone/blob/master/index.js%23L27
- https://security.snyk.io/vuln/SNYK-JS-GITSHALLOWCLONE-3253853
FAQ
What is CVE-2024-21531?
CVE-2024-21531 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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.
How severe is CVE-2024-21531?
CVE-2024-21531 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-21531?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.