gix refs and paths with reserved Windows device names access the devices
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
gitoxide is a pure Rust implementation of Git. On Windows, fetching refs that clash with legacy device names reads from the devices, and checking out paths that clash with such names writes arbitrary data to the devices. This allows a repository, when cloned, to cause indefinite blocking or the production of arbitrary message that appear to have come from the application, and potentially other harmful effects under limited circumstances. If Windows is not used, or untrusted repositories are not cloned or otherwise used, then there is no impact. A minor degradation in availability may also be possible, such as with a very large file named `CON`, though the user could interrupt the application.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Byron | gitoxide | before 0.36.0 | 0.36.0 | Patch available | CNA |
| — | gix-worktree-state (crates.io) | before 0.11.0 | 0.11.0 | Patch available | GHSA-49jc-r788-3fc9 |
| — | gitoxide (crates.io) | before 0.36.0 | 0.36.0 | Patch available | GHSA-49jc-r788-3fc9 |
| — | gix-worktree (crates.io) | before 0.34.0 | 0.34.0 | Patch available | GHSA-49jc-r788-3fc9 |
| — | gitoxide-core (crates.io) | before 0.38.0 | 0.38.0 | Patch available | GHSA-49jc-r788-3fc9 |
| — | gix (crates.io) | before 0.63.0 | 0.63.0 | Patch available | GHSA-49jc-r788-3fc9 |
| — | gix-ref (crates.io) | before 0.44.0 | 0.44.0 | Patch available | GHSA-49jc-r788-3fc9 |
| — | gix-index (crates.io) | before 0.33.0 | 0.33.0 | Patch available | GHSA-49jc-r788-3fc9 |
- gitoxide VendorByron Affected before 0.36.0 Fixed in 0.36.0 Patch available CNA
- gix-worktree-state (crates.io) Vendor— Affected before 0.11.0 Fixed in 0.11.0 Patch available GHSA-49jc-r788-3fc9
- gitoxide (crates.io) Vendor— Affected before 0.36.0 Fixed in 0.36.0 Patch available GHSA-49jc-r788-3fc9
- gix-worktree (crates.io) Vendor— Affected before 0.34.0 Fixed in 0.34.0 Patch available GHSA-49jc-r788-3fc9
- gitoxide-core (crates.io) Vendor— Affected before 0.38.0 Fixed in 0.38.0 Patch available GHSA-49jc-r788-3fc9
- gix (crates.io) Vendor— Affected before 0.63.0 Fixed in 0.63.0 Patch available GHSA-49jc-r788-3fc9
- gix-ref (crates.io) Vendor— Affected before 0.44.0 Fixed in 0.44.0 Patch available GHSA-49jc-r788-3fc9
- gix-index (crates.io) Vendor— Affected before 0.33.0 Fixed in 0.33.0 Patch available GHSA-49jc-r788-3fc9
Remediation
- Fix · CNA gitoxide (Byron) Fixed in 0.36.0
- Fix · GHSA-49jc-r788-3fc9 gix-worktree-state (crates.io) Fixed in 0.11.0 Advisory →
- Fix · GHSA-49jc-r788-3fc9 gitoxide (crates.io) Fixed in 0.36.0 Advisory →
- Fix · GHSA-49jc-r788-3fc9 gix-worktree (crates.io) Fixed in 0.34.0 Advisory →
- Fix · GHSA-49jc-r788-3fc9 gitoxide-core (crates.io) Fixed in 0.38.0 Advisory →
- Fix · GHSA-49jc-r788-3fc9 gix (crates.io) Fixed in 0.63.0 Advisory →
- Fix · GHSA-49jc-r788-3fc9 gix-ref (crates.io) Fixed in 0.44.0 Advisory →
- Fix · GHSA-49jc-r788-3fc9 gix-index (crates.io) Fixed in 0.33.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-35197
- 2026-10-03 Alias added: GHSA-49jc-r788-3fc9
References
More Byron vulnerabilities
- TI-2024-23260 gix traversal outside working tree enables arbitrary code execution CVSS 3.1HIGH 8.8
- TI-2024-27055 gitoxide's gix-path can use a fake program files location CVSS 3.1MEDIUM 6.8
- TI-2024-21756 gix-transport indirect code execution via malicious username CVSS 3.1MEDIUM 6.4
- TI-2024-30454 gix-path improperly resolves configuration path reported by Git CVSS 3.1MEDIUM 6.0
- TI-2024-30376 gix-path uses local config across repos when it is the highest scope CVSS 3.1LOW 2.5
- TI-2024-29380 gitoxide-core does not neutralize special characters for terminals CVSS 3.1LOW 2.5
Sources
- CVE-2024-35197 · CVE Program
- CVE-2024-35197 · NVD
- FIRST EPSS
- GHSA-49jc-r788-3fc9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences