Categories
CVE-2024-35197

gix refs and paths with reserved Windows device names access the devices

Summary

gix refs and paths with reserved Windows device names access the devices

Original description

The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV

Affected packages

crates.io gix-worktree
[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.34.0"}]}]
crates.io gix-index
[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.33.0"}]}]
crates.io gix-ref
[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.44.0"}]}]

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details