CVE-2018-1002204 — adm-zip npm library before 0
adm-zip npm library before 0.4.9 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'.
Published
2018-07-25T17:00:00.000Z
Last modified
2024-08-05T12:47:57.468Z
01What is this vulnerability?
adm-zip npm library before 0.4.9 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'.
02Affected products
| Vendor | Product | Versions |
|---|
| node.js | adm | zip — unspecified |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2018-07-25T17:00:00.000Z
- Last modified: 2024-08-05T12:47:57.468Z
09References
- snyk.io — https://snyk.io/research/zip-slip-vulnerability
- github.com — https://github.com/cthackers/adm-zip/pull/212
- www.securityfocus.com — http://www.securityfocus.com/bid/107001
- github.com — https://github.com/cthackers/adm-zip/commit/62f64004fefb894c523a7143e8a88ebe6c84…
- github.com — https://github.com/snyk/zip-slip-vulnerability
- snyk.io — https://snyk.io/vuln/npm:adm-zip:20180415
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →