CVE-2018-20834

7.5 HIGH
Published: April 30, 2019 Modified: February 04, 2026
View on NVD

Description

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).

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/npm/node-tar/compare/58a8d43...a5f7779
Source: cve@mitre.org
Patch Third Party Advisory
https://hackerone.com/reports/344595
Source: cve@mitre.org
Exploit Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1821
Source: af854a3a-2127-422b-91ae-364da2661108
https://github.com/npm/node-tar/commit/b0c58433c22f5e7fe8b1c76373f27e3f81dcd4c8
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Third Party Advisory
https://github.com/npm/node-tar/commits/v2.2.2
Source: af854a3a-2127-422b-91ae-364da2661108
https://github.com/npm/node-tar/compare/58a8d43...a5f7779
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Third Party Advisory
https://hackerone.com/reports/344595
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory
https://nvd.nist.gov/vuln/detail/CVE-2018-20834
Source: af854a3a-2127-422b-91ae-364da2661108

14 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.5 / 10.0
EPSS (Exploit Probability)
0.7%
73th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

isaacs