CVE-2018-20834: A vulnerability was found in node-tar before version 4.4.2 (excluding version 2.2.2).
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 3.1% (FIRST EPSS); higher than 88.1% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: node-tar (Debian:12) 4.4.4+ds1-2; tar (npm) 4.4.2, 2.2.2; rh-nodejs8-nodejs (Red Hat:rhel_software_collections:3::el7) 0:8.16.0-1.el7.
Low priority for now. Upgrade to node-tar (Debian:12) 4.4.4+ds1-2; tar (npm) 4.4.2, 2.2.2; rh-nodejs8-nodejs (Red Hat:rhel_software_collections:3::el7) 0:8.16.0-1.el7 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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
- Apr 30, 2019
- Updated
- Jun 16, 2026
- EPSS
- 3.1% · 88th percentile
- CWE
- CWE-59
Report tools
Action score
31
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.1%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| isaacs | tar | cpe:2.3:a:isaacs:tar |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- isaacs tarbefore 2.2.2
- isaacs tar3.0.0 and later · before 4.4.2
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | node-tar | before 4.4.4+ds1-2 | 4.4.4+ds1-2 |
| npm | tar | from 3.0.0 · before 4.4.2 | 4.4.2 |
| npm | tar | before 2.2.2 | 2.2.2 |
| Red Hat:rhel_software_collections:3::el7 | rh-nodejs8-nodejs | before 0:8.16.0-1.el7 | 0:8.16.0-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-nodejs8-nodejs-debuginfo | before 0:8.16.0-1.el7 | 0:8.16.0-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-nodejs8-nodejs-devel | before 0:8.16.0-1.el7 | 0:8.16.0-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-nodejs8-nodejs-docs | before 0:8.16.0-1.el7 | 0:8.16.0-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-nodejs8-npm | before 0:6.4.1-8.16.0.1.el7 | 0:6.4.1-8.16.0.1.el7 |
Same product
isaacs: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-59873node-tar: Decompression/parse DoS via unlimited input36Monitor
- CVE-2026-59874node-tar: Negative tar entry size causes infinite loop in archive replace34Monitor
- CVE-2026-31802node-tar Symlink Path Traversal via Drive-Relative Linkpath32Monitor
Published before and after this one in the same product
- Later →CVE-2024-28863Mar 21, 2024 · node-tar vulnerable to denial of service while parsing a tar file due to lack of folders count validation26Monitor
- Later →CVE-2026-23745Jan 16, 2026 · node-tar Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization32Monitor
- Later →CVE-2026-23950Jan 19, 2026 · node-tar has Race Condition in Path Reservations via Unicode Ligature Collisions on macOS APFS23Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:node-tar | 4.4.4+ds1-2 · Debian:12 | Package registry (OSV) |
| npm:tar | 2.2.2 | Package registry (OSV) |
| npm:tar | 4.4.2 | Package registry (OSV) |
| red hat:rh-nodejs8-nodejs | 0:8.16.0-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-nodejs8-nodejs-debuginfo | 0:8.16.0-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-nodejs8-nodejs-devel | 0:8.16.0-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-nodejs8-nodejs-docs | 0:8.16.0-1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-nodejs8-npm | 0:6.4.1-8.16.0.1.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-59 · Improper Link Resolution Before File Access ('Link Following')CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
- Obfuscated Files or Information: HTML SmugglingT1027.006
- Obfuscated Files or Information: Embedded PayloadsT1027.009
- Boot or Logon Autostart Execution:Shortcut ModificationT1547.009
- Hide Artifacts: Resource ForkingT1564.009
- Hijack Execution Flow: Executable Installer File Permissions WeaknessT1574.005
- Hijack Execution Flow: Services File Permissions WeaknessT1574.010
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.