CVE-2024-21533

Published Oct 8, 2024 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-3104 ggit is vulnerable to Arbitrary Argument Injection via the clone() API
Github GHSA Github GHSA GHSA-pr45-cg4x-ff4m ggit is vulnerable to Arbitrary Argument Injection via the clone() API
History
Type Values Removed Values Added
First Time appeared Bahmutov
Bahmutov ggit
CPEs cpe:2.3:a:bahmutov:ggit:*:*:*:*:*:*:*:*
Vendors & Products Bahmutov
Bahmutov ggit
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Weaknesses CWE-88
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L/E:P'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Mar 21, 2026, 10:21 PM
Reserved
Dec 22, 2023, 12:33 PM
Status
Deferred
Published
Oct 8, 2024, 5:15 AM
Modified
Jun 17, 2026, 7:09 AM