zt-zip: Path traversal in fluent API unpack
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| zeroturnaround | zt-zip | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Zeroturnaround | Zt-zip |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-52c6-99qm-3hqr | zt-zip: Path traversal in fluent API unpack |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.242% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Zeroturnaround
Zeroturnaround zt-zip |
|
| Vendors & Products |
Zeroturnaround
Zeroturnaround zt-zip |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | zt-zip: Path traversal in fluent API unpack | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV3_1
|