org.webjars.npm:decompress-tar@4.1.1 vulnerabilities

  • latest version

    4.1.1

  • first published

    4 years ago

  • latest version published

    4 years ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:decompress-tar 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-tar is a tar plugin for decompress.

    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-tar.

    [0,)