CVE-2024-21533

MEDIUM

ggit - Command Injection

Title source: llm

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 10.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Classification

CWE
CWE-88
Status draft

Affected Products (1)

npm/ggit npm

Timeline

Published Oct 08, 2024
Tracked Since Feb 18, 2026