Vulnerability in Ggit

CVE-2024-21533

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L.

EPSS exploit prediction

EPSS 0.006, 49.1th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Ggit — versions 0

Weakness classification (CWE)

Public exploits and proof-of-concept code

1 public repository with exploit or proof-of-concept code for this CVE:

Also mentioned in 5 other repositories (fkie-cad/nvd-json-data-feeds, nomi-sec/PoC-in-GitHub, plzheheplztrying/cve_monitor, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References