CVE-2024-32884
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L
Summary
gitoxide is a pure Rust implementation of Git. gix-transport does not check the username part of a URL for text that the external ssh program would interpret as an option. A specially crafted clone URL can smuggle options to SSH. The possibilities are syntactically limited, but if a malicious clone URL is used by an application whose current working directory contains a malicious file, arbitrary code execution occurs. This is related to the patched vulnerability GHSA-rrjw-j4m2-mf34, but appears less severe due to a greater attack complexity. This issue has been patched in versions 0.35.0, 0.42.0 and 0.62.0.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Byron | gitoxide | < 0.42.0 | affected |
| Byron | gitoxide | < 0.62 | affected |
| Byron | gitoxide | < 0.35 | affected |
Weaknesses
- CWE-77: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
- CWE-88: CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: total
CVE Program Container
Additional References
- https://github.com/Byron/gitoxide/security/advisories/GHSA-98p4-xjmm-8mfh
- https://rustsec.org/advisories/RUSTSEC-2024-0335.html
References
- https://github.com/Byron/gitoxide/security/advisories/GHSA-98p4-xjmm-8mfh
- https://rustsec.org/advisories/RUSTSEC-2024-0335.html
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.