Skip to content
OpenAdvisories
Medium · 5.5 Public exploit CVE-2018-1002201 EUVD-2022-4948GHSA-qcf3-9vmh-xw4rSNYK-JAVA-ORGZEROTURNAROUND-31681

Improper Limitation of a Pathname to a Restricted Directory in zt-zip

Published Jul 25, 2018 · Updated Sep 16, 2024 · Assigned by snyk

Description

zt-zip before 1.13 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
zeroturnaround zt-zip unspecified – < 1.13 1.13

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 1 repository

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

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.zeroturnaround:zt-zip < 1.13 1.13 GHSA-qcf3-9vmh-xw4r

References