medium5.5
CVE-2018-1002204
Arbitrary File Write in adm-zip
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | adm-zip | < 0.4.11 | 0.4.11 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Adm-Zip Project | Adm-Zip | before 0.4.9 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.securityfocus.com/bid/107001
- https://github.com/cthackers/adm-zip/commit/62f64004fefb894c523a7143e8a88ebe6c84df25
- https://github.com/cthackers/adm-zip/pull/212
- https://github.com/snyk/zip-slip-vulnerability
- https://snyk.io/research/zip-slip-vulnerability
- https://snyk.io/vuln/npm:adm-zip:20180415
- https://github.com/advisories/GHSA-3v6h-hqm4-2rg6
- https://nvd.nist.gov/vuln/detail/CVE-2018-1002204
- https://www.npmjs.com/advisories/681
- https://hackerone.com/reports/362118
- https://www.npmjs.com/advisories/994