CVE-2018-1002204
mediumpriority · track · 27EPSS 0.135 · 96 %ileEURUUSEPSS · scored 2026-10-27
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'.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 4.3–9.6
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (10)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-3v6h-hqm4-2rg6Arbitrary File Write in adm-zip2018-07-27ghsa · osvUS
Versions of `adm-zip` before 0.4.9 are vulnerable to arbitrary file write when used to extract a specifically crafted archive that contains path traversal filenames (`../../file.txt` for example). ## Recommendation Update to version 0.4.9 or later.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (19)
External citations — patches, advisories, analysis.
- http://www.securityfocus.com/bid/107001cnnvd
- https://github.com/cthackers/adm-zip/commit/62f64004fefb894c523a7143e8a88ebe6c84df25cnnvd
- https://github.com/cthackers/adm-zip/pull/212cnnvd
- https://github.com/snyk/zip-slip-vulnerabilitycnnvd
- https://snyk.io/research/zip-slip-vulnerabilitycnnvd
- https://snyk.io/vuln/npm:adm-zip:20180415cnnvd
- https://www.securityfocus.com/bid/107001cnnvd
- http://www.securityfocus.com/bid/107001enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan