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.2Every release on a timeline
3.x
Not affected
3.0.0 – 3.1.3
15 releases, latest
1.x
Affected
1.0.0 – 1.16.1
28 releases
Fixed
1.16.2 – 1.16.6
5 releases
0.x
Affected
0.1.0 – 0.5.2
21 releases
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.