Path Traversal in Github.com/yi-Ge/unzip
CVE-2020-36561
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H.
EPSS exploit prediction
EPSS 0.014, 73.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Github.com/yi-Ge/unzip — versions 0
- Unzip Project
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Live-Hack-CVE/CVE-2020-36561). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/yi-ge/unzip/pull/1 (Exploit, Third Party Advisory)
- github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73 (Patch, Third Party Advisory)
- snyk.io/research/zip-slip-vulnerability (Technical Description, Third Party Advisory)
- pkg.go.dev/vuln/GO-2020-0035 (Third Party Advisory)