w-zip@1.0.11 vulnerabilities

A compression tool with zip and 7z.

Direct Vulnerabilities

Known vulnerabilities in the w-zip package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • C
Arbitrary File Write via Archive Extraction (Zip Slip)

w-zip is an A compression tool with zip and 7z.

Affected versions of this package are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) via the mzip.unZip() function, which does not check relative path named files (i.e. ..\..\..\..\..\tmp), allowing for files to be extracted to a place outside of the target directroy.

How to fix Arbitrary File Write via Archive Extraction (Zip Slip)?

Upgrade w-zip to version 1.0.12 or higher.

<1.0.12