unzipper npm library before 0.8.13 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'.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://snyk.io/research/zip-slip-vulnerability | issue tracking patch exploit third party advisory |
https://github.com/ZJONSSON/node-unzipper/commit/2220ddd5b58f6252069a4f99f9475441ad0b50cd | issue tracking third party advisory patch |
https://snyk.io/vuln/npm:unzipper:20180415 | issue tracking patch exploit third party advisory |
https://github.com/snyk/zip-slip-vulnerability | third party advisory exploit |
https://github.com/ZJONSSON/node-unzipper/pull/59 | issue tracking patch exploit third party advisory |