cve/2024/CVE-2024-35186.md
2024-06-18 02:51:15 +02:00

18 lines
1.0 KiB
Markdown

### [CVE-2024-35186](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-35186)
![](https://img.shields.io/static/v1?label=Product&message=gitoxide&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%200.36.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-23%3A%20Relative%20Path%20Traversal&color=brighgreen)
### 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.
### POC
#### Reference
- https://github.com/Byron/gitoxide/security/advisories/GHSA-7w47-3wg8-547c
#### Github
No PoCs found on GitHub currently.