Vulnerability · Published May 23, 2024 · Assigned by GitHub_M
CVE-2024-35197gix refs and paths with reserved Windows device names access the devices
Medium 5.4
In plain English
A medium-severity security flaw in gitoxide from Byron. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-67 · Vector: 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 x_refsource_CONFIRM