{"id":"CVE-2024-35186","published":"2024-05-23T08:55:20Z","modified":"2024-08-02T03:07:46Z","title":"gix traversal outside working tree enables arbitrary code execution","vendor":"Byron","product":"gitoxide","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00816,"percentile":0.57986,"provenance":"source"},"cwes":[{"id":"CWE-23","name":"Relative Path Traversal"}],"references":[{"url":"https://github.com/Byron/gitoxide/security/advisories/GHSA-7w47-3wg8-547c","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.8,"factors":[{"name":"EPSS percentile","points":11.6},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"byron","affectedVersions":[{"vendor":"Byron","product":"gitoxide","versions":["< 0.36.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-05-23T17:34:38.737689Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"gix-worktree-state","vulnerableRanges":["<0.11.0"],"patched":["0.11.0"],"from":["GHSA-7w47-3wg8-547c"],"provenance":"source"},{"ecosystem":"crates.io","package":"gitoxide","vulnerableRanges":["<0.36.0"],"patched":["0.36.0"],"from":["GHSA-7w47-3wg8-547c"],"provenance":"source"},{"ecosystem":"crates.io","package":"gix-fs","vulnerableRanges":["<0.11.0",">=0.0.0-0, <0.11.0"],"patched":["0.11.0"],"from":["GHSA-7w47-3wg8-547c","RUSTSEC-2024-0350"],"provenance":"source"},{"ecosystem":"crates.io","package":"gix-worktree","vulnerableRanges":["<0.34.0",">=0.0.0-0, <0.34.0"],"patched":["0.34.0"],"from":["GHSA-7w47-3wg8-547c","RUSTSEC-2024-0349"],"provenance":"source"},{"ecosystem":"crates.io","package":"gix","vulnerableRanges":["<0.63.0"],"patched":["0.63.0"],"from":["GHSA-7w47-3wg8-547c"],"provenance":"source"},{"ecosystem":"crates.io","package":"gitoxide-core","vulnerableRanges":["<0.38.0"],"patched":["0.38.0"],"from":["GHSA-7w47-3wg8-547c"],"provenance":"source"},{"ecosystem":"crates.io","package":"gix-index","vulnerableRanges":["<0.33.0",">=0.0.0-0, <0.33.0"],"patched":["0.33.0"],"from":["GHSA-7w47-3wg8-547c","RUSTSEC-2024-0348"],"provenance":"source"}],"summary":{"text":"gitoxide, a pure Rust implementation of Git, has a path traversal flaw in its gix-worktree-state component: during checkout it does not verify that paths resolve to locations inside the working tree. An attacker who supplies a specially crafted repository can get the application to create files anywhere it has write access when that repository is cloned, requiring a user to clone it (no authentication needed, reachable over the network).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:26Z"},"euvd":{"id":"EUVD-2024-1506","exploited":false,"provenance":"source"}}