Live threats

All CVEs / Isaacs

CVE-2018-20834Isaacs Tar

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
3.1%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Apr 30, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59
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 node-tar before version 4.4.2 (excluding version 2.2.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 patch has been applied to node-tar v2.2.2).

Original NVD text.

What to do

  1. Apply the vendor's security update for Tar.
  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 ≥ 3.0.0 < 4.4.2 4.4.2 npm install tar@4.4.2
npm tar < 2.2.2 2.2.2 npm install tar@2.2.2

Per OSV / GitHub Advisories (GHSA-j44m-qm6p-hp7m). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
isaacstar< 2.2.2
isaacstar≥ 3.0.0 < 4.4.2

Official sources

References

Links published by the sources. Open them with care.