Skip to content

CVE-2024-21533 ggit is vulnerable to Arbitrary Argument Injection via the clone() API

MediumCVSS 6.5 EPSS 0.60%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

All versions of the package ggit are vulnerable to Arbitrary Argument Injection via the clone() API, which allows specifying the remote URL to clone and the file on disk to clone to. The library does not sanitize for user input or validate a given URL scheme, nor does it properly pass command-line flags to the git binary using the double-dash POSIX characters (--) to communicate the end of options.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
bahmutov ggit <= 2.4.12 after 2.4.12 Fixed
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 <= 2.4.12 No fix listed

References