CVE-2018-1002202
MEDIUM 6.5CVSS 3.0Improper Limitation of a Pathname to a Restricted Directory in Zip4j
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'.
- Published
- 25 Jul 2018
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-2rpm-4x8c-pvqg
- Sources
- NVDJSONOSV GHSA-2rpm-4x8c-pvqgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | zip4j_project | zip4jcpe:2.3:a:zip4j_project:zip4j:*:*:*:*:*:*:*:* |
< 1.3.3 | 1.3.3 |
| OSV | Maven | net.lingala.zip4j:zip4j | < 1.3.3 | 1.3.3 |
References
- https://github.com/snyk/zip-slip-vulnerability · Exploit, Third Party Advisory, WEB
- https://snyk.io/research/zip-slip-vulnerability · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JAVA-NETLINGALAZIP4J-31679 · Third Party Advisory, WEB
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03895en_us · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-1002202 · ADVISORY
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 25 Jul 2018)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 May 2022)