Skip to content
OpenAdvisories
Medium · 6.5 Public exploit CVE-2018-1002202 EUVD-2022-2044GHSA-2rpm-4x8c-pvqg

Improper Limitation of a Pathname to a Restricted Directory in Zip4j

Published Jul 25, 2018 · Updated Aug 5, 2024 · Assigned by snyk

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

Affected products

VendorProductAffectedFixed
zip4j zip4j unspecified – < 1.3.3 1.3.3

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven net.lingala.zip4j:zip4j < 1.3.3 1.3.3 GHSA-2rpm-4x8c-pvqg

Advisories 1

References