CVE-2024-21533

MEDIUM

ggit - Command Injection

Title source: llm
STIX 2.1

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.

Exploits (1)

nomisec WORKING POC
by lirantal · poc
https://github.com/lirantal/CVE-2024-21533-PoC-ggit

Scores

CVSS v3 6.5
EPSS 0.0004
EPSS Percentile 12.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-88
Status published
Products (2)
n/a/ggit
npm/ggit 0npm
Published Oct 08, 2024
Tracked Since Feb 18, 2026