CVE-2024-21532

HIGH CVSS 3.1: 7.3 EPSS 1.29%
Updated Mar 21, 2026
All
Parameter Value
CVSS 7.3 (HIGH)
Type CWE-78 (OS Command Injection)
Vendor All
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
Low
Partial disruption

CVSS Vector v3.1

Weakness Type (CWE)