PT-2024-18946

CVE-2024-21532

·

Published

2024-10-07

·

Updated

2026-03-27

Description by

CVSS 3.1
7.3
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Name of the Vulnerable Software and Affected Versions ggit versions all
Description The issue concerns Command Injection via the fetchTags(branch) API, which allows user input to specify the branch to be fetched. This input is then concatenated with a git command and passed to the unsafe exec() Node.js child process API.
Recommendations For all versions, consider disabling the fetchTags(branch) API until a patch is available to prevent exploitation. Restrict access to the exec() function to minimize the risk of Command Injection. Avoid using user-inputted data in the branch variable to prevent malicious commands from being executed. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-62CX-5XJ4-WFM4
Found an issue in the description? Have something to add? Feel free to write us 👾