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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.4
- **CVSS:** 6.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.65% (percentile 46, 2026-11-28)
- **CWE:** CWE-77, CWE-88
- **Aliases:** GHSA-98p4-xjmm-8mfh, RUSTSEC-2024-0335
- **Published:** 2024-04-13T12:00:00.000Z
- **Modified:** 2026-10-12T18:00:02.670Z

## Who should check

- Projects that depend on crates.io package gix-transport (\< 0.42.0)
- Projects that depend on crates.io package gix (\< 0.62)
- Projects that depend on crates.io package gitoxide (\< 0.35)
- Anyone running Byron gitoxide \< 0.42.0; \< 0.62; \< 0.35

## 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.

## Affected and fixed versions

- crates.io `gix-transport`: affected \< 0.42.0; fixed 0.42.0 (osv)
- crates.io `gix`: affected \< 0.62; fixed 0.62 (osv)
- crates.io `gitoxide`: affected \< 0.35; fixed 0.35 (osv)
- Byron gitoxide: \< 0.42.0; \< 0.62; \< 0.35 (cvelist)

## Mitigation

- Upgrade gix-transport to 0.42.0 or later.
- Upgrade gix to 0.62 or later.
- Upgrade gitoxide to 0.35 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-32884. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-32884.md
Affected: gix-transport < 0.42.0; gix < 0.62; gitoxide < 0.35
Fixed in: 0.42.0, 0.62, 0.35

Steps:
1. Search this machine and project for gix-transport (crates.io), gix (crates.io), gitoxide (crates.io), Byron gitoxide: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-32884 being exploited?

There is no confirmed exploitation: CVE-2024-32884 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.65% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-32884?

Medium: CVSS 6.4 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-32884?

gix-transport \< 0.42.0; gix \< 0.62; gitoxide \< 0.35.

### Is there a fix for CVE-2024-32884?

Yes. Fixed in 0.42.0, 0.62, 0.35. Upgrade gix-transport to 0.42.0 or later. Upgrade gix to 0.62 or later. Upgrade gitoxide to 0.35 or later.

### How do I check if I'm affected by CVE-2024-32884?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/Byron/gitoxide/security/advisories/GHSA-98p4-xjmm-8mfh>
- vendor: <https://rustsec.org/advisories/RUSTSEC-2024-0335.html>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-32884>
- patch: <https://github.com/Byron/gitoxide/pull/1032>
- other: <https://github.com/Byron/gitoxide>
- other: <https://crates.io/crates/gix-transport>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-32884>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-98p4-xjmm-8mfh> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/RUSTSEC-2024-0335> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-32884> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-32884>
