w-zip@1.0.1 vulnerabilities

A compression tool with zip and 7z.

  • latest version

    1.0.22

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    2 months ago

  • licenses detected

  • Direct Vulnerabilities

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

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable 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