CVE-2018-20834
publishednodejs-tar: Arbitrary file overwrites when extracting tarballs containing a hard-link
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejsaarch64 | Advisory build | 8.16.0-1.el7 | RHSA-2019:1821 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejsppc64le | Advisory build | 8.16.0-1.el7 | RHSA-2019:1821 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejss390x | Advisory build | 8.16.0-1.el7 | RHSA-2019:1821 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejssrc | Advisory build | 8.16.0-1.el7 | RHSA-2019:1821 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejsx86_64 | Advisory build | 8.16.0-1.el7 | RHSA-2019:1821 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-debuginfoaarch64 | Advisory build | 8.16.0-1.el7 | RHSA-2019:1821 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-debuginfoppc64le | Advisory build | 8.16.0-1.el7 | RHSA-2019:1821 |
Show 11 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-debuginfos390x | Advisory build | 8.16.0-1.el7 | RHSA-2019:1821 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-debuginfox86_64 | Advisory build | 8.16.0-1.el7 | RHSA-2019:1821 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-develaarch64 | Advisory build | 8.16.0-1.el7 | RHSA-2019:1821 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-develppc64le | Advisory build | 8.16.0-1.el7 | RHSA-2019:1821 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-devels390x | Advisory build | 8.16.0-1.el7 | RHSA-2019:1821 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-develx86_64 | Advisory build | 8.16.0-1.el7 | RHSA-2019:1821 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-nodejs-docsnoarch | Advisory build | 8.16.0-1.el7 | RHSA-2019:1821 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-npmaarch64 | Advisory build | 6.4.1-8.16.0.1.el7 | RHSA-2019:1821 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-npmppc64le | Advisory build | 6.4.1-8.16.0.1.el7 | RHSA-2019:1821 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-npms390x | Advisory build | 6.4.1-8.16.0.1.el7 | RHSA-2019:1821 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs8-npmx86_64 | Advisory build | 6.4.1-8.16.0.1.el7 | RHSA-2019:1821 |
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
7- RHSA-2019:1821 https://access.redhat.com/errata/RHSA-2019:1821
- https://github.com/npm/node-tar/commit/7ecef07da6a9e72cc0c4d0c9c6a8e85b6b52395d
- https://github.com/npm/node-tar/commit/b0c58433c22f5e7fe8b1c76373f27e3f81dcd4c8
- https://github.com/npm/node-tar/commits/v2.2.2
- https://github.com/npm/node-tar/compare/58a8d43...a5f7779
- https://hackerone.com/reports/344595
- https://nvd.nist.gov/vuln/detail/CVE-2018-20834
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e8a4fe7428401acf9536747b90b072d9f8e7bb0c0b952978406e9facd4d6bb8a
- Ingested
- 23 Sep 2026, 07:44:24 UTC
- Source record
- Official CVE record