What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: Byron gitoxide 0.36.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-35197 or the next vulnerability affects your stack