CVE-2024-21533
published medium CVSS 3.1 · 6.5ggit vulnerability
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | ggit | 0 and later (affected · semver) | snyk · cna |
| bahmutov | ggit | 0 through 2.4.12 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-88 Arbitrary Argument Injection
- CWE-88 CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
References
3Provider assertions
3snyk · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1304472db68cceea644eaf5ae4aceedd917759f9d4a94ebb0f71f2bc79d7942a
- Ingested
- 23 Sep 2026, 08:19:02 UTC
- Source record
- Official CVE record