CVE-2018-1002202 json
Improper Limitation of a Pathname to a Restricted Directory in Zip4j
published 8y ago modified 4mo ago also GHSA-2rpm-4x8c-pvqg , EUVD-2022-2044
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 12.6%
- EPSS 12.6% chance of exploitation in 30 days, percentile 96%
- public exploits
- 0
- none known
Summary
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'.
Patch / fix
- maven net.lingala.zip4j:zip4j 1.3.3
- zip4j zip4j 1.3.3
Is CVE-2018-1002202 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-1002202 updated cvss 6.3
zip4j: arbitrary file write vulnerability / arbitrary code execution using a specially crafted zip file
-
Red Hat JBoss Developer Studio 11 zip4j zip4j Red Hat JBoss Data Virtualization 6 zip4j zip4jnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
12.64% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- snyk.io https://snyk.io/research/zip-slip-vulnerability referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/snyk/zip-slip-vulnerability referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
| GitHub | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | net.lingala.zip4j:zip4j | <1.3.3 |
1.3.3 |
Affected products
- zip4j zip4j
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
snyk.io
/research/zip-slip-vulnerability
web, exploit, issue-tracking, patch, third-party-advisory
-
github.com
/snyk/zip-slip-vulnerability
web, exploit, third-party-advisory
-
support.hpe.com
/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03895en_us
web, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-NETLINGALAZIP4J-31679
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-1002202
advisory
Sources
- CVE List CVE-2018-1002202
- GitHub Advisory GHSA-2rpm-4x8c-pvqg
- NVD CVE-2018-1002202
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.