{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-35186","id":"CVE-2024-35186","title":"gix traversal outside working tree enables arbitrary code execution","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 attem","descriptionLong":"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.","published":"2024-05-23T08:55:20.653Z","updated":"2026-10-28T02:30:59.318430390Z","reserved":"2024-05-10T14:24:24.340Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["Byron gitoxide"],"affectedProducts":[{"vendor":"Byron","product":"gitoxide","defaultStatus":null,"versions":[{"version":"< 0.36.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"gix-worktree-state","purl":"pkg:cargo/gix-worktree-state","ranges":["<0.11.0"],"fixed":["0.11.0"],"advisory":"GHSA-7w47-3wg8-547c"},{"ecosystem":"crates.io","name":"gitoxide","purl":"pkg:cargo/gitoxide","ranges":["<0.36.0"],"fixed":["0.36.0"],"advisory":"GHSA-7w47-3wg8-547c"},{"ecosystem":"crates.io","name":"gix-fs","purl":"pkg:cargo/gix-fs","ranges":["<0.11.0",">=0.0.0-0 <0.11.0"],"fixed":["0.11.0"],"advisory":"GHSA-7w47-3wg8-547c"},{"ecosystem":"crates.io","name":"gix-worktree","purl":"pkg:cargo/gix-worktree","ranges":["<0.34.0",">=0.0.0-0 <0.34.0"],"fixed":["0.34.0"],"advisory":"GHSA-7w47-3wg8-547c"},{"ecosystem":"crates.io","name":"gix","purl":"pkg:cargo/gix","ranges":["<0.63.0"],"fixed":["0.63.0"],"advisory":"GHSA-7w47-3wg8-547c"},{"ecosystem":"crates.io","name":"gitoxide-core","purl":"pkg:cargo/gitoxide-core","ranges":["<0.38.0"],"fixed":["0.38.0"],"advisory":"GHSA-7w47-3wg8-547c"},{"ecosystem":"crates.io","name":"gix-index","purl":"pkg:cargo/gix-index","ranges":["<0.33.0",">=0.0.0-0 <0.33.0"],"fixed":["0.33.0"],"advisory":"GHSA-7w47-3wg8-547c"}],"cwes":["CWE-23","CWE-22"],"aliases":["GHSA-7w47-3wg8-547c","RUSTSEC-2024-0348","RUSTSEC-2024-0349","RUSTSEC-2024-0350"],"references":[{"url":"https://github.com/Byron/gitoxide/security/advisories/GHSA-7w47-3wg8-547c","tags":["x_refsource_CONFIRM","x_transferred","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35186.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35186","tags":["advisory","web"]},{"url":"https://github.com/Byron/gitoxide","tags":["package"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0348.html","tags":["web","advisory"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0350.html","tags":["web","advisory"]},{"url":"https://crates.io/crates/gix-index","tags":["package"]},{"url":"https://github.com/GitoxideLabs/gitoxide/commit/79dce79c62f6072aa2653780d590dc3993dfa401","tags":["web"]},{"url":"https://crates.io/crates/gix-worktree","tags":["package"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0349.html","tags":["advisory"]},{"url":"https://crates.io/crates/gix-fs","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00816,"epssPercentile":0.57857,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-35186","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35186","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-35186","ok":true,"note":"7 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7w47-3wg8-547c","ok":true,"note":"GHSA-7w47-3wg8-547c"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-35186","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}