Vulnerability Description
All versions of the package ggit are vulnerable to Arbitrary Argument Injection via the clone() API, which allows specifying the remote URL to clone and the file on disk to clone to. The library does not sanitize for user input or validate a given URL scheme, nor does it properly pass command-line flags to the git binary using the double-dash POSIX characters (--) to communicate the end of options.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://gist.github.com/lirantal/80c6d59ac1b682a32bc9d2ff92044bb9
- https://security.snyk.io/vuln/SNYK-JS-GGIT-5731319
- https://github.com/bahmutov/ggit/blob/2e85b0316d9c272e067dca5679d39e302f4cb9cd/R
FAQ
What is CVE-2024-21533?
CVE-2024-21533 is a vulnerability with a CVSS score of 6.5 (MEDIUM). All versions of the package ggit are vulnerable to Arbitrary Argument Injection via the clone() API, which allows specifying the remote URL to clone and the file on disk to clone to. The library does ...
How severe is CVE-2024-21533?
CVE-2024-21533 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-21533?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.