ADVISORIES

GitHub Advisory Database

GHSA-qcf3-9vmh-xw4r

Improper Limitation of a Pathname to a Restricted Directory in 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'.

Affected packages

EcosystemPackageAffected versions
Mavenorg.zeroturnaround:zt-zip
All versions before 1.13 (fixed in 1.13)

References