Skip to content

CVE-2024-21532 ggit is vulnerable to Command Injection via the fetchTags(branch) API

HighCVSS 7.3 EPSS 1.3%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
bahmutov ggit All versions No fix listed No fix yet
npm ggit(npm) <= 2.4.12 after 2.4.12 Fixed

Affected products

ProductAffected versionsFixed in
npm ggit(npm) <= 2.4.12 No fix listed
bahmutov ggit All versions No fix listed

References