Vulnerability Description
All versions of the package ggit are vulnerable to Command Injection via the fetchTags(branch) API, which allows user input to specify the branch to be fetched and then concatenates this string along with a git command which is then passed to the unsafe exec() Node.js child process API.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://gist.github.com/lirantal/d8f87b366d2078e6118ab7bf2b005f02
- https://security.snyk.io/vuln/SNYK-JS-GGIT-5731320
- https://github.com/bahmutov/ggit/blob/2e85b0316d9c272e067dca5679d39e302f4cb9cd/R
FAQ
What is CVE-2024-21532?
CVE-2024-21532 is a vulnerability with a CVSS score of 7.3 (HIGH). All versions of the package ggit are vulnerable to Command Injection via the fetchTags(branch) API, which allows user input to specify the branch to be fetched and then concatenates this string along ...
How severe is CVE-2024-21532?
CVE-2024-21532 has been rated HIGH with a CVSS base score of 7.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-21532?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.