# CVE-2024-35197: gix refs and paths with reserved Windows device names access the devices

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2024-05-22T12:00:00.000Z
- Modified: 2026-11-09T11:00:03.728Z
- Also known as: GHSA-49jc-r788-3fc9, RUSTSEC-2024-0351, RUSTSEC-2024-0352, RUSTSEC-2024-0353
- Weaknesses: CWE-67
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- Byron gitoxide: < 0.36.0; before 0.36.0
- gix-worktree-state (crates.io): before 0.11.0
- gitoxide (crates.io): before 0.36.0
- gix-worktree (crates.io): before 0.34.0; from 0.0.0-0 before 0.34.0
- gitoxide-core (crates.io): before 0.38.0
- gix (crates.io): before 0.63.0
- gix-ref (crates.io): before 0.44.0; from 0.0.0-0 before 0.44.0
- gix-index (crates.io): before 0.33.0; from 0.0.0-0 before 0.33.0

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`
- GitHub: CVSS:4.0 Medium `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`
- RustSec Advisory Database: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`

## 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> (advisory, web)
- <https://rustsec.org/advisories/RUSTSEC-2024-0352.html> (advisory, web)
- <https://rustsec.org/advisories/RUSTSEC-2024-0353.html> (advisory, web)
- <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)

## Sources

- CVE List: [CVE-2024-35197](https://www.cve.org/CVERecord?id=CVE-2024-35197), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-49jc-r788-3fc9](https://github.com/advisories/GHSA-49jc-r788-3fc9), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2024-0351](https://rustsec.org/advisories/RUSTSEC-2024-0351.html), CC0-1.0, modified 2026-11-09
- RustSec Advisory Database: [RUSTSEC-2024-0352](https://rustsec.org/advisories/RUSTSEC-2024-0352.html), CC0-1.0, modified 2026-11-09
- RustSec Advisory Database: [RUSTSEC-2024-0353](https://rustsec.org/advisories/RUSTSEC-2024-0353.html), CC0-1.0, modified 2026-11-09
- NVD: [CVE-2024-35197](https://nvd.nist.gov/vuln/detail/CVE-2024-35197), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-35197 · Whole record: https://cve.day/CVE-2024-35197.json · Rebuilt by cve.day 2026-11-25T22:58:40.770Z
