VDB
Sign up
MEDIUM5.5

GHSA-qcf3-9vmh-xw4r

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

Quick fix

GHSA-qcf3-9vmh-xw4r — org.zeroturnaround:zt-zip: upgrade to the fixed version with the command below.

# pom.xml: bump <version>1.13</version> for org.zeroturnaround:zt-zip

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.zeroturnaround:zt-zip
Introduced in: 0Fixed in: 1.13
Fix# pom.xml: bump <version>1.13</version> for org.zeroturnaround:zt-zip

References