CVE-2018-1002204
MEDIUM 5.5CVSS 3.1Arbitrary File Write in adm-zip
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
- 25 Jul 2018
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-3v6h-hqm4-2rg6
- Sources
- NVDJSONOSV GHSA-3v6h-hqm4-2rg6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | adm-zip_project | adm-zipcpe:2.3:a:adm-zip_project:adm-zip:*:*:*:*:*:node.js:*:* |
< 0.4.9 | 0.4.9 |
| OSV | npm | adm-zip | < 0.4.11 | 0.4.11 |
References
- http://www.securityfocus.com/bid/107001 · Third Party Advisory, VDB Entry, WEB
- https://github.com/cthackers/adm-zip/commit/62f64004fefb894c523a7143e8a88ebe6c84df25 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/cthackers/adm-zip/pull/212 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/snyk/zip-slip-vulnerability · Exploit, Third Party Advisory, WEB
- https://snyk.io/research/zip-slip-vulnerability · Exploit, Third Party Advisory, WEB
- https://snyk.io/vuln/npm:adm-zip:20180415 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-1002204 · ADVISORY
- https://hackerone.com/reports/362118 · WEB
- https://github.com/advisories/GHSA-3v6h-hqm4-2rg6 · ADVISORY
- https://www.npmjs.com/advisories/681 · WEB
- https://www.npmjs.com/advisories/994 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 25 Jul 2018)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 27 Jul 2018)