Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-35197

MEDIUM 5.4EPSS 45%

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

Also known as GHSA-49jc-r788-3fc9, RUSTSEC-2024-0351, RUSTSEC-2024-0352, RUSTSEC-2024-0353

Mitigation

  • Upgrade gix-worktree-state to 0.11.0 or later.
  • Upgrade gitoxide to 0.36.0 or later.
  • Upgrade gix-worktree to 0.34.0 or later.
  • Upgrade gitoxide-core to 0.38.0 or later.
  • Upgrade gix to 0.63.0 or later.
  • Upgrade gix-ref to 0.44.0 or later.
  • Upgrade gix-index to 0.33.0 or later.

Who should check

  • Projects that depend on crates.io package gix-worktree-state (< 0.11.0)
  • Projects that depend on crates.io package gitoxide (< 0.36.0)
  • Projects that depend on crates.io package gix-worktree (< 0.34.0)
  • Projects that depend on crates.io package gitoxide-core (< 0.38.0)
  • Projects that depend on crates.io package gix (< 0.63.0)
  • Projects that depend on crates.io package gix-ref (< 0.44.0)
  • Projects that depend on crates.io package gix-index (< 0.33.0)
  • Anyone running Byron gitoxide < 0.36.0

Vulnerability facts

Affected
gix-worktree-state < 0.11.0; gitoxide < 0.36.0; gix-worktree < 0.34.0; gitoxide-core < 0.38.0; gix < 0.63.0; gix-ref < 0.44.0; gix-index < 0.33.0
Fixed in
0.11.0, 0.36.0, 0.34.0, 0.38.0, 0.63.0, 0.44.0, 0.33.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
5.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: Required
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: Low
  • Availability impact: Low
EPSS
0.64% chance of exploitation in 30 days (percentile 45, 2026-11-26)
CWE
CWE-67
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
crates.io gix-worktree-state< 0.11.00.11.0osv
crates.io gitoxide< 0.36.00.36.0osv
crates.io gix-worktree< 0.34.00.34.0osv
crates.io gitoxide-core< 0.38.00.38.0osv
crates.io gix< 0.63.00.63.0osv
crates.io gix-ref< 0.44.00.44.0osv
crates.io gix-index< 0.33.00.33.0osv
Byron gitoxide< 0.36.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-35197. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35197.md
Affected: gix-worktree-state < 0.11.0; gitoxide < 0.36.0; gix-worktree < 0.34.0; gitoxide-core < 0.38.0; gix < 0.63.0; gix-ref < 0.44.0; gix-index < 0.33.0
Fixed in: 0.11.0, 0.36.0, 0.34.0, 0.38.0, 0.63.0, 0.44.0, 0.33.0

Steps:
1. Search this machine and project for gix-worktree-state (crates.io), gitoxide (crates.io), gix-worktree (crates.io), gitoxide-core (crates.io), gix (crates.io), gix-ref (crates.io): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-35197 being exploited?

There is no confirmed exploitation: CVE-2024-35197 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.64% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-35197?

Medium: CVSS 5.4 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2024-35197?

gix-worktree-state < 0.11.0; gitoxide < 0.36.0; gix-worktree < 0.34.0; gitoxide-core < 0.38.0; gix < 0.63.0; gix-ref < 0.44.0; gix-index < 0.33.0.

Is there a fix for CVE-2024-35197?

Yes. Fixed in 0.11.0, 0.36.0, 0.34.0, 0.38.0, 0.63.0, 0.44.0, 0.33.0. Upgrade gix-worktree-state to 0.11.0 or later. Upgrade gitoxide to 0.36.0 or later. Upgrade gix-worktree to 0.34.0 or later. Upgrade gitoxide-core to 0.38.0 or later. Upgrade gix to 0.63.0 or later. Upgrade gix-ref to 0.44.0 or later. Upgrade gix-index to 0.33.0 or later.

How do I check if I'm affected by CVE-2024-35197?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors