CVE-2024-35197 — Vulnerability in gitoxide-core — CVE Details
gix refs and paths with reserved Windows device names access the devices
Summary
Advisory Timeline
- First published May 22, 2024 (873 days ago).
- Last revised September 10, 2026 — 841 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p gitoxide-core --precise 0.38.0
cargo update -p gix --precise 0.63.0
cargo update -p gix-worktree --precise 0.34.0
cargo update -p gitoxide --precise 0.36.0
cargo update -p gix-ref --precise 0.44.0
cargo update -p gix-index --precise 0.33.0
cargo update -p gix-worktree-state --precise 0.11.0
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (7)
Affects 1 ecosystem: crates.io (7).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| gitoxide-core | crates.io | All versions | 0.38.0 |
| gix | crates.io | All versions | 0.63.0 |
| gix-worktree | crates.io | All versions | 0.34.0 |
| gitoxide | crates.io | All versions | 0.36.0 |
| gix-ref | crates.io | All versions | 0.44.0 |
| gix-index | crates.io | All versions | 0.33.0 |
| gix-worktree-state | crates.io | All versions | 0.11.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-67
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.4 score means for each attack dimension.
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-3fc9WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-35197ADVISORY
- https://github.com/Byron/gitoxidePACKAGE
- https://rustsec.org/advisories/RUSTSEC-2024-0351.htmlWEB
- https://rustsec.org/advisories/RUSTSEC-2024-0352.htmlWEB
- https://rustsec.org/advisories/RUSTSEC-2024-0353.htmlWEB
Frequently Asked Questions
- What is CVE-2024-35197?
- gix refs and paths with reserved Windows device names access the devices This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.4/10).
- How do I check if my project is affected by CVE-2024-35197?
- CVE-2024-35197 affects gitoxide-core, gix and gix-worktree (and 4 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-35197 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2024-35186HIGH
Traversal outside working tree enables arbitrary code execution
- CVE-2024-35186HIGH
gix traversal outside working tree enables arbitrary code execution
- CVE-2026-40034HIGH
gitoxide: CommandForbiddenInModulesConfiguration Bypass in gix_submodule::File::update() Enables Arbitrary Command Execution via .gitmodules
- CVE-2026-82251HIGH
gix and gitoxide: unvalidated submodule name traverses out of .git/modules and redirects state() / open() to another repository
- CVE-2026-82253HIGH
gix's submodule name validation bypass + trust inheritance flaw enables path traversal and credential disclosure
- CVE-2026-82252HIGH
gix and gitoxide's symlinked .gitmodules are followed and parsed from outside of the repository
- CVE-2025-31130MEDIUM
gitoxide does not detect SHA-1 collision attacks
- CVE-2024-32884MEDIUM
gix-transport indirect code execution via malicious username
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies