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'.
Remediation
References
https://github.com/snyk/zip-slip-vulnerability
https://github.com/zeroturnaround/zt-zip/blob/zt-zip-1.13/Changelog.txt
https://github.com/zeroturnaround/zt-zip/commit/759b72f33bc8f4d69f84f09fcb7f010ad45d6fff
https://snyk.io/research/zip-slip-vulnerability
https://snyk.io/vuln/SNYK-JAVA-ORGZEROTURNAROUND-31681
Related Vulnerabilities
CVE-2021-25930 Vulnerability in maven package org.opennms:opennms-webapp
CVE-2023-38698 Vulnerability in npm package @ensdomains/ens-contracts
CVE-2021-33813 Vulnerability in maven package org.jdom:jdom
CVE-2020-26234 Vulnerability in maven package org.opencastproject:opencast-kernel
CVE-2021-26707 Vulnerability in maven package org.webjars.npm:merge-deep