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://github.com/snyk/zip-slip-vulnerability
https://github.com/ZJONSSON/node-unzipper/commit/2220ddd5b58f6252069a4f99f9475441ad0b50cd
https://github.com/ZJONSSON/node-unzipper/pull/59
https://snyk.io/research/zip-slip-vulnerability
https://snyk.io/vuln/npm:unzipper:20180415
Related Vulnerabilities
CVE-2021-44585 Vulnerability in maven package org.jeecgframework.boot:jeecg-boot-base
CVE-2022-24822 Vulnerability in npm package @podium/proxy
CVE-2021-21179 Vulnerability in npm package electron
CVE-2020-2274 Vulnerability in maven package org.jenkins-ci.plugins:elastestv
CVE-2017-3208 Vulnerability in maven package com.exadel.flamingo.flex:amf-serializer