CVE-2024-35186
gix traversal outside working tree enables arbitrary code execution
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.82% · top 43% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Weakness
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- crates.iogitoxideGHSA-7w47-3wg8-547c (opens in a new tab)
- crates.iogitoxide-coreGHSA-7w47-3wg8-547c (opens in a new tab)
- crates.iogixGHSA-7w47-3wg8-547c (opens in a new tab)
- crates.iogix-fsGHSA-7w47-3wg8-547c (opens in a new tab)
- crates.iogix-indexGHSA-7w47-3wg8-547c (opens in a new tab)
- crates.iogix-worktreeGHSA-7w47-3wg8-547c (opens in a new tab)
- crates.iogix-worktree-stateGHSA-7w47-3wg8-547c (opens in a new tab)
References (1)
- https://github.com/Byron/gitoxide/security/advisories/GHSA-7w47-3wg8-547c (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-7w47-3wg8-547c (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-35186)Record last updated .