zt-zip 是一个提供 ZIP 归档操作便捷方法的 Java 库。在 1.18.0 版本之前,位于 中的流式 API 调用 会直接根据 ZIP 条目名称构造输出文件,而未应用 所使用的目标路径边界验证机制。因此,一个精心构造的、包含父目录遍历路径的条目,既可通过常规复制分支,也可通过 分支,将文件写入到指定的 之外。 仅通过 提取不可信归档的应用程序不受此问题影响,因为该 API 内部已调用 进行路径遍历检查。此问题已在 1.18.0 版本中修复。
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| zeroturnaround | zt-zip | < 1.18.0 |
affected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| zeroturnaround | zt-zip | < 1.18.0 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC