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 :
Nov. 21, 2024, 4:02 a.m.
Source :
[email protected]
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.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2018-20834
.
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
None
TypeScript
A VS Code extension that provides a command to browse the current project using GitExtensions, from the Explorer.
TypeScript
Convert your reStructuredText into HTML using rst2html in Visual Studio Code
restructuredtext html vscode vscode-extension
TypeScript JavaScript
Generate docstring for functions and classes
TypeScript
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 af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2019:1821 Added Reference https://github.com/npm/node-tar/commit/7ecef07da6a9e72cc0c4d0c9c6a8e85b6b52395d Added Reference https://github.com/npm/node-tar/commit/b0c58433c22f5e7fe8b1c76373f27e3f81dcd4c8 Added Reference https://github.com/npm/node-tar/commits/v2.2.2 Added Reference https://github.com/npm/node-tar/compare/58a8d43...a5f7779 Added Reference https://hackerone.com/reports/344595 Added Reference https://nvd.nist.gov/vuln/detail/CVE-2018-20834 -
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
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.41 }} 0.02%
score
0.73545
percentile