GHSA-884w-698f-927f
Arbitrary File Write via Archive Extraction in unzipper
Packages
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- 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