CVE-2024-21532

Published Oct 8, 2024 CVSS 3.1 · 7.3 High EPSS 1.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2956 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.
Github GHSA Github GHSA GHSA-62cx-5xj4-wfm4 ggit is vulnerable to Command Injection via the fetchTags(branch) API
History
Type Values Removed Values Added
First Time appeared Bahmutov
Bahmutov ggit
CPEs cpe:2.3:a:bahmutov:ggit:*:*:*:*:*:*:*:*
Vendors & Products Bahmutov
Bahmutov ggit
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Mar 21, 2026, 10:20 PM
Reserved
Dec 22, 2023, 12:33 PM
Status
Deferred
Published
Oct 8, 2024, 5:15 AM
Modified
Jun 17, 2026, 7:09 AM