org.mvnpm:tar@7.5.17

  • latest version

    7.5.22

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    4 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.mvnpm:tar 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
    Uncontrolled Recursion

    org.mvnpm:tar is a full-featured Tar for Node.js.

    Affected versions of this package are vulnerable to Uncontrolled Recursion in the mapHas helper and filesFilter function in src/list.ts, which walk an entry path upward with one path.dirname() call per recursion and no segment cap. An attacker can terminate the Node process with an uncatchable stack-overflow RangeError by supplying a tar archive whose GNU L or PAX x long-path header carries tens of thousands of /-separated segments, when that archive is listed or extracted with a member-selection filter. Exploitation requires the application to call tar.t() or tar.x() with a non-empty member-selection list on an untrusted archive, and on async or streaming consumers the error is uncatchable while synchronous APIs can catch it.

    How to fix Uncontrolled Recursion?

    Upgrade org.mvnpm:tar to version 7.5.21 or higher.

    [,7.5.21)
    • H
    Allocation of Resources Without Limits or Throttling

    org.mvnpm:tar is a full-featured Tar for Node.js.

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to the lack of enforced upper bounds on total decompressed data, entry counts, or decompression ratio in extraction and parsing paths such as src/extract.ts. An attacker can exhaust disk space and CPU resources by submitting a small crafted gzip archive with a high decompression ratio.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade org.mvnpm:tar to version 7.5.19 or higher.

    [,7.5.19)
    • M
    Incorrect Type Conversion or Cast

    org.mvnpm:tar is a full-featured Tar for Node.js.

    Affected versions of this package are vulnerable to Incorrect Type Conversion or Cast via the src/pax.ts file. An attacker can cause a process crash by providing all-digit PAX path or linkpath values that are coerced to JavaScript numbers, leading to a TypeError during downstream path handling.

    How to fix Incorrect Type Conversion or Cast?

    Upgrade org.mvnpm:tar to version 7.5.19 or higher.

    [,7.5.19)
    • H
    Infinite loop

    org.mvnpm:tar is a full-featured Tar for Node.js.

    Affected versions of this package are vulnerable to Infinite loop via the replace method. An attacker can cause the archive scanner to enter an infinite loop by providing a tar header with a negative base-256 encoded entry size.

    How to fix Infinite loop?

    Upgrade org.mvnpm:tar to version 7.5.19 or higher.

    [,7.5.19)