CVE-2024-32884
MEDIUM 6.4CVSS 3.1gix-transport indirect code execution via malicious username
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.
- Published
- 26 Apr 2024
- Last modified
- 12 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-77CWE-88
- Also known as
- GHSA-98p4-xjmm-8mfhRUSTSEC-2024-0335
- Sources
- NVDJSONOSV GHSA-98p4-xjmm-8mfhJSONOSV RUSTSEC-2024-0335JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | gix-transport | < 0.42.0 | 0.42.0 |
| OSV | crates.io | gix | < 0.62 | 0.62 |
| OSV | crates.io | gitoxide | < 0.35 | 0.35 |
| OSV | crates.io | gix-transport | >= 0.0.0-0, < 0.42.0 | 0.42.0 |
References
- https://github.com/Byron/gitoxide/security/advisories/GHSA-98p4-xjmm-8mfh · WEB
- https://rustsec.org/advisories/RUSTSEC-2024-0335.html · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-32884 · ADVISORY
- https://github.com/Byron/gitoxide · PACKAGE
- https://crates.io/crates/gix-transport · PACKAGE
- https://github.com/Byron/gitoxide/pull/1032 · WEB
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 26 Apr 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Apr 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Apr 2024)