Arbitrary File Write via Archive Extraction in unzipper
Versions of unzipper before 0.8.13 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.3.18 or later.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | unzipper | < 0.8.13 | 0.8.13 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1002203
- https://github.com/ZJONSSON/node-unzipper/pull/59
- https://github.com/ZJONSSON/node-unzipper/commit/2220ddd5b58f6252069a4f99f9475441ad0b50cd
- https://hackerone.com/reports/362119
- https://github.com/advisories/GHSA-884w-698f-927f
- https://github.com/snyk/zip-slip-vulnerability
- https://snyk.io/research/zip-slip-vulnerability
- https://snyk.io/vuln/npm:unzipper:20180415
- https://www.npmjs.com/advisories/680
- CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N- Weakness (CWE)
CWE-22- Platform
- npm
- Package
unzipper- Disclosed
- 27.07.2018
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-884w-698f-927f - CC BY 4.0
Vulnerability history: unzipper
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.