GHSA-qcf3-9vmh-xw4r
Improper Limitation of a Pathname to a Restricted Directory in zt-zip
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.zeroturnaround:zt-zip | < 1.13 | 1.13 |
Details
As written in the advisory (Markdown source, shown as plain text).
zt-zip before 1.13 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2018-1002201
- https://github.com/zeroturnaround/zt-zip/commit/759b72f33bc8f4d69f84f09fcb7f010ad45d6fff
- https://github.com/snyk/zip-slip-vulnerability
- https://github.com/zeroturnaround/zt-zip/blob/zt-zip-1.13/Changelog.txt
- https://snyk.io/research/zip-slip-vulnerability
- https://snyk.io/vuln/SNYK-JAVA-ORGZEROTURNAROUND-31681