All reports
Medium

ggit is vulnerable to Arbitrary Argument Injection via the clone() API

Affected versions

Affected versions
<= 2.4.12
Fixed version
Not reported

Exploitation

CVE-2024-21533

Probability of exploitation in the next 30 days: 0.60%

FIRST EPSS · 2026-11-21

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.

Links

Credits

  • lirantal