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'.
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 | third party advisory exploit |
https://github.com/cthackers/adm-zip/pull/212 | issue tracking patch exploit third party advisory |
http://www.securityfocus.com/bid/107001 | vdb entry third party advisory |
https://github.com/cthackers/adm-zip/commit/62f64004fefb894c523a7143e8a88ebe6c84df25 | issue tracking third party advisory patch |
https://github.com/snyk/zip-slip-vulnerability | third party advisory exploit |
https://snyk.io/vuln/npm:adm-zip:20180415 | third party advisory exploit |