CVE-2018-1002204
Adm-zip Project Adm-zip vulnerability
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'.
Affected products
Adm-zip. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Adm-zip Project Adm-zip runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/cthackers/adm-zip/commit/62f64004fefb894c523a7143e8a88ebe6c84df25 · Patch
- github.com/cthackers/adm-zip/pull/212 · Exploit
- www.securityfocus.com/bid/107001 · Third Party Advisory
- github.com/snyk/zip-slip-vulnerability · Exploit
- snyk.io/research/zip-slip-vulnerability · Exploit
- snyk.io/vuln/npm:adm-zip:20180415 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2018-1002204
- cve.org/CVERecord?id=CVE-2018-1002204
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.