RCE in Ggit
CVE-2024-21532
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.013 (69.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 69th percentile — 69.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.013 · newest: 0.013 · change: 0.000
Affected products
- Ggit — versions 0
Weakness classification (CWE)
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2024-21532?
- CVE-2024-21532 is a high-severity vulnerability in Ggit, classified under OS Command Injection. CVSS score: 7.3/10. Published 2024-10-08.
- How severe is CVE-2024-21532?
- High severity. CVSS v3 base score is 7.3 out of 10.
- Is CVE-2024-21532 known to be exploited?
- 6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.