Skip to content
Fencer Vulns
medium 6.5

CVE-2018-1002202 json

Improper Limitation of a Pathname to a Restricted Directory in Zip4j

published 2018-07-25 8 y ago modified 2026-06-17 4 mo 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

Vendor 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 zip4j
    not 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-08).

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

Sources

Fencer Vulns 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.