Files
CVEs-PoC/2020/CVE-2020-36561.md
T
2024-05-25 21:48:12 +02:00

18 lines
749 B
Markdown

### [CVE-2020-36561](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-36561)
![](https://img.shields.io/static/v1?label=Product&message=github.com%2Fyi-ge%2Funzip&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=0%3C%201.0.3-0.20200308084313-2adbaa4891b9%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE%2029%3A%20Path%20Traversal%3A%20%22%5C..%5Cfilename%22&color=brighgreen)
### Description
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
### POC
#### Reference
- https://github.com/yi-ge/unzip/pull/1
#### Github
- https://github.com/Live-Hack-CVE/CVE-2020-36561