VDB
KO
HIGH 8.1

GHSA-jmr9-qjv8-65gv

extract-zip unvalidated symlink path traversal

Details

extract-zip does not validate symlink targets when extracting zip archives. When processing a malicious zip file containing a symlink with a relative path like '../../../../etc/passwd', extract-zip will extract the symlink without validation, allowing it to point outside the extraction directory. Depending on how extract-zip is used, an attacker could read or write to arbitrary files.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / extract-zip
Introduced in: 0

No fixed version published yet for extract-zip (npm). Pin to a known-safe version or switch to an alternative.

References