# CVE-2024-32884: gix-transport indirect code execution via malicious username

- Severity: Medium 6.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2024-04-13T12:00:00.000Z
- Modified: 2026-10-12T18:00:02.670Z
- Also known as: GHSA-98p4-xjmm-8mfh, RUSTSEC-2024-0335
- Weaknesses: CWE-77, CWE-88
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- Byron gitoxide: < 0.42.0; < 0.62; < 0.35; before 0.35.0; before 0.62.0; before 0.42.0
- gix-transport (crates.io): before 0.42.0; from 0.0.0-0 before 0.42.0
- gix (crates.io): before 0.62
- gitoxide (crates.io): before 0.35

## Every score

- GitHub_M: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L`
- GitHub: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L`

## References

- <https://github.com/Byron/gitoxide/security/advisories/GHSA-98p4-xjmm-8mfh> (web)
- <https://rustsec.org/advisories/RUSTSEC-2024-0335.html> (advisory, web)
- <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)

## Sources

- CVE List: [CVE-2024-32884](https://www.cve.org/CVERecord?id=CVE-2024-32884), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-98p4-xjmm-8mfh](https://github.com/advisories/GHSA-98p4-xjmm-8mfh), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2024-0335](https://rustsec.org/advisories/RUSTSEC-2024-0335.html), CC0-1.0, modified 2026-10-12
- NVD: [CVE-2024-32884](https://nvd.nist.gov/vuln/detail/CVE-2024-32884), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-32884 · Whole record: https://cve.day/CVE-2024-32884.json · Rebuilt by cve.day 2026-11-25T22:58:39.640Z
