CVE-2024-35197
MEDIUM 5.4CVSS 3.1gix refs and paths with reserved Windows device names access the devices
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.
- Published
- 23 May 2024
- Last modified
- 9 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-67
- Also known as
- GHSA-49jc-r788-3fc9RUSTSEC-2024-0351RUSTSEC-2024-0352RUSTSEC-2024-0353
- Sources
- NVDJSONOSV GHSA-49jc-r788-3fc9JSONOSV RUSTSEC-2024-0351JSONOSV RUSTSEC-2024-0352JSONOSV RUSTSEC-2024-0353JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L |
| OSV | RustSec | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | gix-worktree-state | < 0.11.0 | 0.11.0 |
| OSV | crates.io | gitoxide | < 0.36.0 | 0.36.0 |
| OSV | crates.io | gix-worktree | < 0.34.0 | 0.34.0 |
| OSV | crates.io | gitoxide-core | < 0.38.0 | 0.38.0 |
| OSV | crates.io | gix | < 0.63.0 | 0.63.0 |
| OSV | crates.io | gix-ref | < 0.44.0 | 0.44.0 |
| OSV | crates.io | gix-index | < 0.33.0 | 0.33.0 |
| OSV | crates.io | gix-ref | >= 0.0.0-0, < 0.44.0 | 0.44.0 |
| OSV | crates.io | gix-index | >= 0.0.0-0, < 0.33.0 | 0.33.0 |
| OSV | crates.io | gix-worktree | >= 0.0.0-0, < 0.34.0 | 0.34.0 |
References
- https://github.com/Byron/gitoxide/security/advisories/GHSA-49jc-r788-3fc9 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-35197 · ADVISORY, WEB
- https://github.com/Byron/gitoxide · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2024-0351.html · WEB, ADVISORY
- https://rustsec.org/advisories/RUSTSEC-2024-0352.html · WEB, ADVISORY
- https://rustsec.org/advisories/RUSTSEC-2024-0353.html · WEB, ADVISORY
- https://crates.io/crates/gix-ref · PACKAGE
- https://github.com/GitoxideLabs/gitoxide/commit/79dce79c62f6072aa2653780d590dc3993dfa401 · WEB
- https://crates.io/crates/gix-index · PACKAGE
- https://crates.io/crates/gix-worktree · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 23 May 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 May 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 May 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 May 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 May 2024)