What’s Vulnerable › Vulnerabilities
CVE-2018-1002202
- Severity: medium (CVSS 6.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 12.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-07-25 · updated 2026-06-17
- Weakness: CWE-22
Description
zip4j before 1.3.3 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'.
Affected products
- zip4j: before 1.3.3 — fixed in 1.3.3
How to fix
Upgrade to a fixed version: zip4j 1.3.3. Check the vendor advisory for mitigations.
References
- https://github.com/snyk/zip-slip-vulnerability
- https://snyk.io/research/zip-slip-vulnerability
- https://snyk.io/vuln/SNYK-JAVA-NETLINGALAZIP4J-31679
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03895en_us
- https://github.com/snyk/zip-slip-vulnerability
- https://snyk.io/research/zip-slip-vulnerability
- https://snyk.io/vuln/SNYK-JAVA-NETLINGALAZIP4J-31679
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03895en_us
Get alerted when CVE-2018-1002202 or the next vulnerability affects your stack