Skip to content
OpenAdvisories
Medium · 6.5 Public exploit CVE-2024-21533 EUVD-2024-3104GHSA-pr45-cg4x-ff4m

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

Published Oct 8, 2024 · Updated Mar 21, 2026 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— ggit — —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm ggit <= 2.4.12 — GHSA-pr45-cg4x-ff4m

References