CVE-2024-35197
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.
Scoring
- Severity
- MEDIUM
- CVSS base score
- 5.4
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
- EPSS probability
- 0.45%
- CWE
- CWE-67
- Published
- 2024-05-23
- Last modified
- 2026-03-13
Affected products
- Byron gitoxide
Weakness type
Related vulnerabilities
- CVE-2026-27199 — Werkzeug safe_join() allows Windows special device names
- CVE-2026-21860 — Werkzeug safe_join() allows Windows special device names with compound extensions
- CVE-2025-66221 — Werkzeug safe_join() allows Windows special device names
- CVE-2024-51745 — Wasmtime doesn't fully sandbox all the Windows device filenames