{"id":"CVE-2024-35186","state":"PUBLISHED","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 attempting to execute code can directly impact integrity as well. This vulnerability has been patched in version(s) 0.36.0.","publishedAt":"2024-05-23T08:55:20.653Z","updatedAt":"2024-08-02T03:07:46.876Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["Byron gitoxide"],"affected":[{"vendor":"Byron","product":"gitoxide","versions":[{"version":"< 0.36.0","status":"affected"}]}],"references":["https://github.com/Byron/gitoxide/security/advisories/GHSA-7w47-3wg8-547c"],"weaknesses":["CWE-23"],"ingestedAt":"2026-10-29T20:07:30.303Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/35xxx/CVE-2024-35186.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-35186","state":"PUBLISHED","datePublished":"2024-05-23T08:55:20.653Z","dateUpdated":"2024-08-02T03:07:46.876Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-05-10T14:24:24.340Z"},"containers":{"cna":{"title":"gix traversal outside working tree enables arbitrary code execution","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Byron","product":"gitoxide","versions":[{"version":"< 0.36.0","status":"affected"}]}],"references":[{"url":"https://github.com/Byron/gitoxide/security/advisories/GHSA-7w47-3wg8-547c","name":"https://github.com/Byron/gitoxide/security/advisories/GHSA-7w47-3wg8-547c","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-23","lang":"en","description":"CWE-23: Relative Path Traversal","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-05-23T08:55:20.653Z"},"source":{"advisory":"GHSA-7w47-3wg8-547c","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"byron","product":"gitoxide","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"0.36.0","versionType":"custom"}],"cpes":["cpe:2.3:a:byron:gitoxide:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-35186","role":"CISA Coordinator","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2024-05-23T17:34:38.737689Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:34:36.271Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/Byron/gitoxide/security/advisories/GHSA-7w47-3wg8-547c","name":"https://github.com/Byron/gitoxide/security/advisories/GHSA-7w47-3wg8-547c","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T03:07:46.876Z"}}]}}}