Due to improper path santization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
References
Link | Resource |
---|---|
https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73 | Patch Third Party Advisory |
https://pkg.go.dev/vuln/GO-2020-0035 | Third Party Advisory |
https://github.com/yi-ge/unzip/pull/1 | Exploit Third Party Advisory |
https://snyk.io/research/zip-slip-vulnerability | Technical Description Third Party Advisory |
Configurations
Information
Published : 2022-12-27 14:15
Updated : 2023-01-05 17:27
NVD link : CVE-2020-36561
Mitre link : CVE-2020-36561
JSON object : View
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Products Affected
unzip_project
- unzip