CVE-2024-35186Byron gitoxide
High 8.8 No auth needed
Follow: this CVE · Byron · Byron gitoxide We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 69
- Auth required
- No
- Published
- May 23, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-23
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
gitoxide is a pure Rust implementation of Git. During checkout, `gix-worktree-state` does not verify that paths point to locations in the working tree. A specially crafted repository can, when cloned, place new files anywhere writable by the application. This vulnerability leads to a major loss of confidentiality, integrity, and availability, but creating files outside a working tree without attempting to execute code can directly impact integrity as well. This vulnerability has been patched in version(s) 0.36.0.
What to do
- Apply the vendor's security update for gitoxide.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | gitoxide |
< 0.36.0 |
0.36.0 |
cargo update -p gitoxide --precise 0.36.0 |
| crates.io | gitoxide-core |
< 0.38.0 |
0.38.0 |
cargo update -p gitoxide-core --precise 0.38.0 |
| crates.io | gix |
< 0.63.0 |
0.63.0 |
cargo update -p gix --precise 0.63.0 |
| crates.io | gix-fs |
< 0.11.0 |
0.11.0 |
cargo update -p gix-fs --precise 0.11.0 |
| crates.io | gix-fs |
≥ 0.0.0-0 < 0.11.0 |
0.11.0 |
cargo update -p gix-fs --precise 0.11.0 |
| crates.io | gix-index |
< 0.33.0 |
0.33.0 |
cargo update -p gix-index --precise 0.33.0 |
| crates.io | gix-index |
≥ 0.0.0-0 < 0.33.0 |
0.33.0 |
cargo update -p gix-index --precise 0.33.0 |
| crates.io | gix-worktree |
< 0.34.0 |
0.34.0 |
cargo update -p gix-worktree --precise 0.34.0 |
| crates.io | gix-worktree |
≥ 0.0.0-0 < 0.34.0 |
0.34.0 |
cargo update -p gix-worktree --precise 0.34.0 |
| crates.io | gix-worktree-state |
< 0.11.0 |
0.11.0 |
cargo update -p gix-worktree-state --precise 0.11.0 |
Per OSV / GitHub Advisories (GHSA-7w47-3wg8-547c, RUSTSEC-2024-0350, RUSTSEC-2024-0348, RUSTSEC-2024-0349). Check the version in your lockfile before upgrading.
Affected products
- Byron · gitoxide
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.