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-2021-23438 Vulnerability in npm package mpath
CVE-2023-47326 Vulnerability in maven package org.silverpeas.core:silverpeas-core
CVE-2023-26136 Vulnerability in maven package org.webjars.bowergithub.salesforce:tough-cookie
CVE-2020-36381 Vulnerability in npm package aaptjs
CVE-2023-24057 Vulnerability in maven package ca.uhn.hapi.fhir:org.hl7.fhir.convertors