org.webjars.npm:decompress@2.1.1 vulnerabilities

  • latest version

    4.2.1

  • first published

    9 years ago

  • latest version published

    4 years ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:decompress package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Arbitrary File Write via Archive Extraction (Zip Slip)

    org.webjars.npm:decompress is a package that can be used for extracting archives.

    Affected versions of this package are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip). It is possible to bypass the security measures provided by decompress and conduct ZIP path traversal through symlinks.

    PoC

    const decompress = require('decompress');
    
    decompress('slip.tar.gz', 'dist').then(files => {
        console.log('done!');
    });
    

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

    There is no fixed version for org.webjars.npm:decompress.

    [0,)