CVE-2024-35197
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | forky | fixed | 0 |
| debian | sid | fixed | 0 |
| debian | trixie | fixed | 0 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| crates.io | gix-index | | |
| crates.io | gix-ref | | |
| crates.io | gix-worktree | | |
| crates.io | gix-index | >=0.0.0-0,<0.33.0 | 0.33.0 |
| crates.io | gix-ref | >=0.0.0-0,<0.44.0 | 0.44.0 |
| crates.io | gix-worktree | >=0.0.0-0,<0.34.0 | 0.34.0 |
| crates.io | gix-worktree-state | <0.11.0 | 0.11.0 |
| crates.io | gitoxide | <0.36.0 | 0.36.0 |
| crates.io | gix-worktree | <0.34.0 | 0.34.0 |
| crates.io | gitoxide-core | <0.38.0 | 0.38.0 |
| crates.io | gix | <0.63.0 | 0.63.0 |
| crates.io | gix-ref | <0.44.0 | 0.44.0 |
| crates.io | gix-index | <0.33.0 | 0.33.0 |
References
- https://github.com/Byron/gitoxide/security/advisories/GHSA-49jc-r788-3fc9
- https://www.suse.com/security/cve/CVE-2024-35197.html
- https://nvd.nist.gov/vuln/detail/CVE-2024-35197
- https://github.com/Byron/gitoxide
- https://rustsec.org/advisories/RUSTSEC-2024-0351.html
- https://rustsec.org/advisories/RUSTSEC-2024-0352.html
- https://rustsec.org/advisories/RUSTSEC-2024-0353.html
- https://crates.io/crates/gix-ref
- https://github.com/advisories/GHSA-49jc-r788-3fc9
- https://crates.io/crates/gix-index
- https://crates.io/crates/gix-worktree
- https://security-tracker.debian.org/tracker/CVE-2024-35197
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.