Description
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'.
Remediation
References
https://snyk.io/vuln/npm:unzipper:20180415
https://snyk.io/research/zip-slip-vulnerability
https://github.com/ZJONSSON/node-unzipper/pull/59
https://github.com/ZJONSSON/node-unzipper/commit/2220ddd5b58f6252069a4f99f9475441ad0b50cd
https://github.com/snyk/zip-slip-vulnerability
Related Vulnerabilities
CVE-2022-22984 Vulnerability in npm package snyk-gradle-plugin
CVE-2023-37910 Vulnerability in maven package org.xwiki.platform:xwiki-platform-attachment-api
CVE-2020-28455 Vulnerability in npm package markdown-it-toc
CVE-2019-14517 Vulnerability in maven package org.webjars.bowergithub.pandao:editor.md
CVE-2023-40027 Vulnerability in npm package @keystone-6/core