What’s Vulnerable › Vulnerabilities
CVE-2024-21532
- Severity: high (CVSS 7.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-10-08 · updated 2026-06-17
- Weakness: CWE-78
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.
Affected products
- bahmutov Ggit: all versions
References
- https://gist.github.com/lirantal/d8f87b366d2078e6118ab7bf2b005f02
- https://security.snyk.io/vuln/SNYK-JS-GGIT-5731320
- https://github.com/bahmutov/ggit/blob/2e85b0316d9c272e067dca5679d39e302f4cb9cd/README.md?plain=1#L3
Get alerted when CVE-2024-21532 or the next vulnerability affects your stack