7.5
HIGH
CVE-2018-20834
Node-Tar Arbitrary File Overwrite Vulnerability
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).

INFO

Published Date :

April 30, 2019, 7:29 p.m.

Last Modified :

Sept. 4, 2019, 8:15 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2018-20834 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2018-20834 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Node-tar_project node-tar
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

JavaScript

Updated: 3 years, 9 months ago
0 stars 0 fork 0 watcher
Born at : Dec. 1, 2020, 8:06 a.m. This repo has been linked 1 different CVEs too.

None

TypeScript

Updated: 4 years, 3 months ago
0 stars 0 fork 0 watcher
Born at : June 3, 2020, 5:33 p.m. This repo has been linked 1 different CVEs too.

A VS Code extension that provides a command to browse the current project using GitExtensions, from the Explorer.

TypeScript

Updated: 1 year, 4 months ago
9 stars 5 fork 5 watcher
Born at : Nov. 27, 2018, 2:56 p.m. This repo has been linked 2 different CVEs too.

Convert your reStructuredText into HTML using rst2html in Visual Studio Code

restructuredtext html vscode vscode-extension

TypeScript JavaScript

Updated: 1 year, 7 months ago
0 stars 0 fork 0 watcher
Born at : Oct. 15, 2018, 3:21 p.m. This repo has been linked 1 different CVEs too.

Generate docstring for functions and classes

TypeScript

Updated: 3 years, 3 months ago
6 stars 1 fork 1 watcher
Born at : June 8, 2018, 1:56 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-20834 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-20834 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Sep. 04, 2019

    Action Type Old Value New Value
    Changed Description A vulnerability was found in node-tar before version 4.4.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 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).
    Added Reference https://github.com/npm/node-tar/commit/7ecef07da6a9e72cc0c4d0c9c6a8e85b6b52395d [No Types Assigned]
    Added Reference https://nvd.nist.gov/vuln/detail/CVE-2018-20834 [No Types Assigned]
    Added Reference https://github.com/npm/node-tar/commits/v2.2.2 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 22, 2019

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2019:1821 [No Types Assigned]
  • Reanalysis by [email protected]

    May. 23, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:node-tar_project:node-tar:*:*:*:*:*:*:*:* versions up to (excluding) 4.4.2 OR *cpe:2.3:a:node-tar_project:node-tar:*:*:*:*:*:*:*:* versions up to (excluding) 2.2.2 *cpe:2.3:a:node-tar_project:node-tar:*:*:*:*:*:*:*:* versions from (including) 3.0.0 up to (excluding) 4.4.2
  • Initial Analysis by [email protected]

    May. 03, 2019

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:N/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
    Changed Reference Type https://github.com/npm/node-tar/commit/b0c58433c22f5e7fe8b1c76373f27e3f81dcd4c8 No Types Assigned https://github.com/npm/node-tar/commit/b0c58433c22f5e7fe8b1c76373f27e3f81dcd4c8 Patch, Third Party Advisory
    Changed Reference Type https://github.com/npm/node-tar/compare/58a8d43...a5f7779 No Types Assigned https://github.com/npm/node-tar/compare/58a8d43...a5f7779 Patch, Third Party Advisory
    Changed Reference Type https://hackerone.com/reports/344595 No Types Assigned https://hackerone.com/reports/344595 Exploit, Third Party Advisory
    Added CWE CWE-59
    Added CPE Configuration OR *cpe:2.3:a:node-tar_project:node-tar:*:*:*:*:*:*:*:* versions up to (excluding) 4.4.2
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-20834 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-20834 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.38 }} 0.06%

score

0.73433

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability