Vulnerability in Isaacs Tar
CVE-2018-20834
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).
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.031 (87.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 88th percentile — 87.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.031 · newest: 0.031 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- hackerone.com/reports/344595 (Exploit, Third Party Advisory)
- github.com/npm/node-tar/commit/b0c58433c22f5e7fe8b1c76373f27e3f81dcd4c8 (Patch, Third Party Advisory)
- github.com/npm/node-tar/compare/58a8d43...a5f7779 (Patch, Third Party Advisory)
- access.redhat.com/errata/RHSA-2019:1821 (vendor-advisory)
- nvd.nist.gov/vuln/detail/CVE-2018-20834
- github.com/npm/node-tar/commit/7ecef07da6a9e72cc0c4d0c9c6a8e85b6b52395d
- github.com/npm/node-tar/commits/v2.2.2
Frequently asked questions
- What is CVE-2018-20834?
- CVE-2018-20834 is a high-severity vulnerability in Isaacs Tar, classified under Improper Link Resolution Before File Access. CVSS score: 7.5/10. Published 2019-04-30.
- How severe is CVE-2018-20834?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2018-20834 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.