Security mailing lists by PureSourceCode

CVE-2024-35197

MEDIUM 5.4CVSS 3.1

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

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.

Published
23 May 2024
Last modified
9 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-67
Also known as
GHSA-49jc-r788-3fc9RUSTSEC-2024-0351RUSTSEC-2024-0352RUSTSEC-2024-0353
Sources
NVDJSONOSV GHSA-49jc-r788-3fc9JSONOSV RUSTSEC-2024-0351JSONOSV RUSTSEC-2024-0352JSONOSV RUSTSEC-2024-0353JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
OSV RustSec CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io gix-worktree-state < 0.11.0 0.11.0
OSV crates.io gitoxide < 0.36.0 0.36.0
OSV crates.io gix-worktree < 0.34.0 0.34.0
OSV crates.io gitoxide-core < 0.38.0 0.38.0
OSV crates.io gix < 0.63.0 0.63.0
OSV crates.io gix-ref < 0.44.0 0.44.0
OSV crates.io gix-index < 0.33.0 0.33.0
OSV crates.io gix-ref >= 0.0.0-0, < 0.44.0 0.44.0
OSV crates.io gix-index >= 0.0.0-0, < 0.33.0 0.33.0
OSV crates.io gix-worktree >= 0.0.0-0, < 0.34.0 0.34.0

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 23 May 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 May 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 May 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 May 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 May 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.