PT-2018-1392

CVE-2018-1002202

·

Published

2018-05-31

·

Updated

2022-05-13

Description by

CVSS 2.0
7.5
High
MetricsAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions zip4j versions prior to 1.3.3
Description The issue is related to a directory traversal vulnerability, also known as 'Zip-Slip', which allows attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This can be exploited by a remote attacker using a specially crafted zip archive, potentially leading to the execution of arbitrary code. The vulnerability is associated with the incorrect restriction of the directory path name in the extractDir function of the zip4j library.
Recommendations For zip4j versions prior to 1.3.3, update to version 1.3.3 or later to resolve the issue. As a temporary workaround, consider restricting the use of the extractDir function until a patch is available. Avoid using zip archives from untrusted sources to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-2RPM-4X8C-PVQG
SNYK-JAVA-NETLINGALAZIP4J-31679
Found an issue in the description? Have something to add? Feel free to write us 👾