Live threats

All CVEs / Tar-fs Project

CVE-2018-20835Tar-fs Project Tar-fs

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
2.4%
probability of exploitation in 30 days · percentile 85
Auth required
No
Published
Apr 30, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tar-fs.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm tar-fs < 1.16.2 1.16.2 npm install tar-fs@1.16.2

Per OSV / GitHub Advisories (GHSA-x2mc-8fgj-3wmr). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
tar-fs_projecttar-fs< 1.16.2

Official sources

References

Links published by the sources. Open them with care.