Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. net.lingala.zip4j/zip4j
  4. ›
  5. CVE-2018-1002202

CVE-2018-1002202: Directory traversal

July 25, 2018 (updated October 9, 2019)

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

References

  • github.com/snyk/zip-slip-vulnerability
  • nvd.nist.gov/vuln/detail/CVE-2018-1002202
  • snyk.io/research/zip-slip-vulnerability
  • snyk.io/vuln/SNYK-JAVA-NETLINGALAZIP4J-31679

Code Behaviors & Features

Detect and mitigate CVE-2018-1002202 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.3.3

Fixed versions

  • 1.3.3

Solution

Upgrade to fixed version

Impact 6.5 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/net.lingala.zip4j/zip4j/CVE-2018-1002202.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:34 +0000.