Description
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'.
Remediation
References
https://snyk.io/vuln/npm:adm-zip:20180415
https://snyk.io/research/zip-slip-vulnerability
https://github.com/snyk/zip-slip-vulnerability
https://github.com/cthackers/adm-zip/pull/212
https://github.com/cthackers/adm-zip/commit/62f64004fefb894c523a7143e8a88ebe6c84df25
http://www.securityfocus.com/bid/107001
Related Vulnerabilities
CVE-2022-39386 Vulnerability in npm package @fastify/websocket
CVE-2020-7656 Vulnerability in maven package org.webjars.bowergithub.jquery:jquery
CVE-2021-27568 Vulnerability in maven package net.minidev:json-smart
CVE-2020-13942 Vulnerability in maven package org.apache.unomi:unomi-persistence-elasticsearch-core