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-37137 Vulnerability in maven package io.netty:netty-codec
CVE-2022-20612 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2020-11969 Vulnerability in maven package org.apache.tomee:openejb-lite
CVE-2023-30465 Vulnerability in maven package org.apache.inlong:manager-pojo
CVE-2020-8127 Vulnerability in maven package org.webjars:reveal.js