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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | ggit | — | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
lirantal/CVE-2024-21532-PoC-ggit ★ 0 · May 10, 2025
CVE-2024-21532 PoC ggit
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | ggit | <= 2.4.12 | — | GHSA-62cx-5xj4-wfm4 |