CVE-2018-1002202
MEDIUM6.5EPSS 3.7%Improper Limitation of a Pathname to a Restricted Directory in Zip4j
Published: 5/13/2022Modified: 3/16/2026
Also known as:GHSA-2rpm-4x8c-pvqg
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 packages (1)
- Maven/net.lingala.zip4j:zip4jfrom 0, < 1.3.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-1002202
- WEBhttps://github.com/snyk/zip-slip-vulnerability
- WEBhttps://snyk.io/research/zip-slip-vulnerability
- WEBhttps://snyk.io/vuln/SNYK-JAVA-NETLINGALAZIP4J-31679
- WEBhttps://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03895en_us