A vulnerability was found in node-tar before version 4.4.2 (excluding version 2.2.2).
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
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).
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | tar (npm) | 3.0.0 to before 4.4.2 | 4.4.2 | Patch available | GHSA-j44m-qm6p-hp7m |
| — | tar (npm) | before 2.2.2 | 2.2.2 | Patch available | GHSA-j44m-qm6p-hp7m |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- tar (npm) Vendor— Affected 3.0.0 to before 4.4.2 Fixed in 4.4.2 Patch available GHSA-j44m-qm6p-hp7m
- tar (npm) Vendor— Affected before 2.2.2 Fixed in 2.2.2 Patch available GHSA-j44m-qm6p-hp7m
Remediation
- Fix · GHSA-j44m-qm6p-hp7m tar (npm) Fixed in 4.4.2 Advisory →
- Fix · GHSA-j44m-qm6p-hp7m tar (npm) Fixed in 2.2.2 Advisory →
Red Hat 1 advisory
- RHSA-2019:1821 Released 2019-07-22 · Red Hat rating Importantrh-nodejs8-nodejs security update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-nodejs8-nodejs-8.16.0-1.el7, rh-nodejs8-nodejs-devel-8.16.0-1.el7, rh-nodejs8-nodejs-docs-8.16.0-1.el7 +1
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-nodejs8-nodejs-8.16.0-1.el7, rh-nodejs8-nodejs-devel-8.16.0-1.el7, rh-nodejs8-nodejs-docs-8.16.0-1.el7 +1
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-nodejs8-nodejs-8.16.0-1.el7, rh-nodejs8-nodejs-devel-8.16.0-1.el7, rh-nodejs8-nodejs-docs-8.16.0-1.el7 +1
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-nodejs8-nodejs-8.16.0-1.el7, rh-nodejs8-nodejs-devel-8.16.0-1.el7, rh-nodejs8-nodejs-docs-8.16.0-1.el7 +1
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-nodejs8-nodejs-8.16.0-1.el7, rh-nodejs8-nodejs-devel-8.16.0-1.el7, rh-nodejs8-nodejs-docs-8.16.0-1.el7 +1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2019:1821 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) | Fixed | RHSA-2019:1821 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2019:1821 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2019:1821 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2019:1821 |
Not affected: 10 products
- Logging Subsystem for Red Hat OpenShift
- Red Hat Enterprise Linux 8
- Red Hat Mobile Application Platform 4
- Red Hat OpenShift Container Platform 3.10
- Red Hat OpenShift Container Platform 3.11
- Red Hat OpenShift Container Platform 3.6
- Red Hat OpenShift Container Platform 3.7
- Red Hat OpenShift Container Platform 3.9
- Red Hat OpenShift Container Platform 4
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2018-20834
- 2026-10-03 Alias added: GHSA-j44m-qm6p-hp7m
References
Exploit 1
Patch 2
More isaacs Tar vulnerabilities
- TI-2026-42687 node-tar: Decompression/parse DoS via unlimited input CVSS 4.0CRITICAL 9.2
- TI-2026-42688 node-tar: Negative tar entry size causes infinite loop in archive replace CVSS 4.0HIGH 8.7
- TI-2026-42686 node-tar: Process crash via PAX numeric path type confusion CVSS 3.1HIGH 7.5
- TI-2026-24357 node-tar Symlink Path Traversal via Drive-Relative Linkpath CVSS 4.0HIGH 8.2
- TI-2026-23372 node-tar: Hardlink Path Traversal via Drive-Relative Linkpath CVSS 4.0HIGH 8.2
- TI-2026-20041 node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal CVSS 3.1HIGH 8.2
Sources
- CVE-2018-20834 · CVE Program
- CVE-2018-20834 · NVD
- FIRST EPSS
- GHSA-j44m-qm6p-hp7m · GitHub Advisory Database · CC BY 4.0
- CVE-2018-20834 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences