CVE-2024-35197
gix refs and paths with reserved Windows device names access the devices
Record from NVD · Published May 22, 2024
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.
EPSS 0.45% · 39.7th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| gitoxide | crates.io | 0.36.0 |
| gix-index | crates.io | 0.33.0 |
| gix-ref | crates.io | 0.44.0 |
| gix | crates.io | 0.63.0 |
| gix-worktree-state | crates.io | 0.11.0 |
| gix-worktree | crates.io | 0.34.0 |
| gitoxide-core | crates.io | 0.38.0 |
| gitoxide | byron | 0.36.0 |
Risk scores
Timeline
- May 22, 2024 CVE Published
- May 22, 2024 PoC Published
- May 24, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (5 in total, the first dated here)
- Jan 10, 2026 Security Advisory
- Jan 10, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-35197
vulnetix vdb fixes CVE-2024-35197
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-35197/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart