WaratekVRT Sign in

CVE-2018-1002202 zip4j

Affected softwarezip4j
Severity6.5 Medium CVSS 3.0 2 scores
Fixed in1.3.3
WeaknessPath traversal (CWE-22)
Published25 Jul 2018
Updated17 Jun 2026

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'.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 1 indexed, none at 5+ stars
  • EPSS 13% chance in 30 days A model's forecast, not a report of exploitation. Higher than 96% of all scored CVEs.

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC CWE-Bench-Java CVE-2018-1002202 versions 1.3.2, 1.3.3 2025-06-30

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.

How to mitigate CVE-2018-1002202

Upgrade zip4j to 1.3.3 or later. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

6.5 MEDIUM v3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.0 6.5 MEDIUM CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N NVD Primary published
CVSS 2.0 5.8 none AV:N/AC:M/Au:N/C:N/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
net.lingala.zip4j:zip4j 0 1.3.3 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv net.lingala.zip4j zip4j generic < 1.3.3
nvd zip4j project zip4j generic < 1.3.3

References

URLTags
https://github.com/snyk/zip-slip-vulnerability WEB
https://snyk.io/research/zip-slip-vulnerability WEB
https://snyk.io/vuln/SNYK-JAVA-NETLINGALAZIP4J-31679 WEB
https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03895en_us WEB

Timeline

Published2018-07-25By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.