CVE-2024-35186
Traversal outside working tree enables arbitrary code execution
8.8
HIGH
CVSS 3.1
EPSS 0.82%
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.
How to fix CVE-2024-35186
To remediate CVE-2024-35186, upgrade the affected package to a fixed version below.
- —upgrade to 0.11.3-1 or later
- —upgrade to 0.33.1-1 or later
- —upgrade to 0.34.1-1 or later
- —upgrade to 0.36.0 or later
- —upgrade to 0.38.0 or later
- —upgrade to 0.63.0 or later
- —upgrade to 0.11.0 or later
- —upgrade to 0.11.0 or later
- —upgrade to 0.33.0 or later
- —upgrade to 0.33.0 or later
- —upgrade to 0.34.0 or later
- —upgrade to 0.34.0 or later
- —upgrade to 0.11.0 or later
Is CVE-2024-35186 being exploited?
Low — EPSS is 0.8%, meaning exploitation activity has not been observed at scale.
Affected packages (13)
- from 0, < 0.11.3-1
- from 0, < 0.33.1-1
- from 0, < 0.34.1-1
- from 0, < 0.36.0
- from 0, < 0.38.0
- from 0, < 0.63.0
- from 0, < 0.11.0
- >= 0.0.0-0, < 0.11.0
- from 0, < 0.33.0
- >= 0.0.0-0, < 0.33.0
- from 0, < 0.34.0
- >= 0.0.0-0, < 0.34.0
- from 0, < 0.11.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |