GitHub Advisoryadvisory · Maven
GHSA-qcf3-9vmh-xw4r Improper Limitation of a Pathname to a Restricted Directory in zt-zip
MEDIUM
Official page ↗
- Aliases
- CVE-2018-1002201
- Ecosystem
- Maven
- Packages
- org.zeroturnaround:zt-zip
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2022-06-30
Affected packages
• Maven org.zeroturnaround:zt-zip: < 1.13 → fixed in 1.13
Description
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'.
Related
Alias · CVE (1)
- CVE-2018-1002201 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… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1002201 advisory
- https://github.com/zeroturnaround/zt-zip/commit/759b72f33bc8f4d69f84f09fcb7f010ad45d6fff web
- https://github.com/snyk/zip-slip-vulnerability web
- https://github.com/zeroturnaround/zt-zip/blob/zt-zip-1.13/Changelog.txt web
- https://snyk.io/research/zip-slip-vulnerability web
- https://snyk.io/vuln/SNYK-JAVA-ORGZEROTURNAROUND-31681 web