Packages / tar-fs / Security

HighVulnerabilityGHSA-x2mc-8fgj-3wmrCVE-2018-20835Published 1 May 2019

Improper Input Validation in tar-fs

Your version

Affected releases · tar-fs

  • 1.x1.0.0 – 1.16.1Fixed in 1.16.2
  • 0.5.x and older0.1.0 – 0.5.2No fix, no longer updated

On 1.x, the newest line:

npm install tar-fs@1.16.2
Every release on a timeline
3.x
  1. Not affected

    3.0.0 – 3.1.3

    15 releases, latest

1.x
  1. Affected

    1.0.0 – 1.16.1

    28 releases

  2. Fixed

    1.16.2 – 1.16.6

    5 releases

0.x
  1. Affected

    0.1.0 – 0.5.2

    21 releases

77 stable releases of tar-fs, oldest to newest, one row per major.

What happens

A vulnerability was found in tar-fs before 1.16.2. An Arbitrary File Overwrite issue exists when extracting a tarball containing a hardlink to a file that already exists on the system, in conjunction with a later plain file with the same name as the hardlink. This plain file content replaces the existing file content.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.