org.webjars.npm:tar-fs@3.0.5 vulnerabilities

  • latest version

    3.0.8

  • first published

    9 years ago

  • latest version published

    4 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.webjars.npm:tar-fs 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
    • M
    Symlink Following

    org.webjars.npm:tar-fs is a filesystem bindings for tar-stream.

    Affected versions of this package are vulnerable to Symlink Following via the symlink validation process in the inCwd function. An attacker can write files outside the intended extraction directory by crafting a malicious tarball that contains symlinks starting with the name of the current working directory.

    How to fix Symlink Following?

    A fix was pushed into the master branch but not yet published.

    [0,)
    • H
    Improper Link Resolution Before File Access ('Link Following')

    org.webjars.npm:tar-fs is a filesystem bindings for tar-stream.

    Affected versions of this package are vulnerable to Improper Link Resolution Before File Access ('Link Following') through the exports.extract function. An attacker can manipulate the path of extracted files to write outside the intended directory by crafting a malicious tarball.

    How to fix Improper Link Resolution Before File Access ('Link Following')?

    There is no fixed version for org.webjars.npm:tar-fs.

    [0,)
    • H
    Symlink Attack

    org.webjars.npm:tar-fs is a filesystem bindings for tar-stream.

    Affected versions of this package are vulnerable to Symlink Attack via the extraction process of a maliciously crafted tar file. An attacker can overwrite or write unauthorized files outside the intended directory by exploiting the path traversal and link following vulnerabilities.

    How to fix Symlink Attack?

    Upgrade org.webjars.npm:tar-fs to version 3.0.8 or higher.

    [,3.0.8)