CVE-2026-63436 zt-zip: Path traversal in fluent API unpack
설명
zt-zip is a Java library that provides convenience methods for ZIP archive manipulation. Prior to 1.18.0, the Zips.get(zip).unpack().destination(outputDir).process() fluent API in src/main/java/org/zeroturnaround/zip/Zips.java constructs output files directly from ZIP entry names without applying the destination-boundary validation used by ZipUtil.unpack(...). A crafted entry containing parent-directory traversal can therefore write outside outputDir through both the normal copy branch and the ZipEntryTransformer branch. Applications that extract untrusted archives only through ZipUtil.unpack(...) are unaffected because that API already calls checkDestinationFileForTraversal. This issue is fixed in version 1.18.0.
영향 받는 제품 제품 1개
-
해결 버전 있음
zeroturnaround
zt-zip
영향 받는 버전
- 1.18.0 미만
해결 버전
- 1.18.0 이상
참고 자료 4건
- github.com https://github.com/zeroturnaround/zt-zip/commit/59a76ad576b0fcd50ea018e3608afb946c1492fd (새 창)
- github.com https://github.com/zeroturnaround/zt-zip/pull/180 (새 창)
- github.com https://github.com/zeroturnaround/zt-zip/releases/tag/v1.18.0 (새 창)
- github.com https://github.com/zeroturnaround/zt-zip/security/advisories/GHSA-52c6-99qm-3hqr (새 창)