Security readout for executives and security teams
Plain-English summary
CVE-2018-20834 affects node-tar archive extraction. A specially crafted tarball can cause an existing file on the system to be overwritten during extraction. Business impact depends on where extraction happens, what account performs it, and whether the affected workflow handles untrusted archives.
Executive priority
Prioritize if the organization processes untrusted tar archives or uses Node.js build and deployment automation extensively. Without known active exploitation or CVSS in the bundle, treat urgency as exposure-driven rather than universally critical.
Technical view
The issue is an arbitrary file overwrite in node-tar before 4.4.2, with 2.2.2 identified as patched. It involves a tarball containing a hardlink to an existing system file followed by a plain file with the same name, causing replacement of that existing file's content during extraction.
Likely exposure
Most exposure is in Node.js applications, build systems, package tooling, or services that extract tar archives using vulnerable node-tar versions, especially when archives come from users, third parties, CI inputs, or package mirrors.
Exploitation context
The source bundle does not show CISA KEV listing or active exploitation evidence. Exploitation requires a crafted tarball and a vulnerable extraction path with access to a target file. Impact can increase if extraction runs with elevated permissions.
Researcher notes
The provided record lacks CVSS, CWE, and complete affected CPE data. Analysis should focus on dependency versioning, archive trust boundaries, extraction privileges, and whether vulnerable code paths are reachable in production or build systems.
Mitigation direction
- Upgrade node-tar to 4.4.2 or later where applicable.
- For 2.x deployments, verify use of patched version 2.2.2.
- Check Red Hat advisory RHSA-2019:1821 for distro-packaged remediation.
- Avoid privileged extraction of untrusted tarballs until fixed.
- Review vendor guidance before applying environment-specific workarounds.
Validation and detection
- Review dependency manifests and SBOMs for vulnerable node-tar versions.
- Identify applications or jobs that extract user-supplied tar archives.
- Check CI, build, packaging, and deployment tooling for node-tar usage.
- Verify runtime extraction does not run with unnecessary file permissions.
- Confirm patched versions are deployed, not only declared.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
File access behavior lookup
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2018-20834 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Unknown
- CVSS
- Not scored
- Known Exploited
- No
- Published
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS and timeline data
No CVSS vectors or timeline events were available in the normalized CVE source material.
Source materials
- CVE List V5 sourceCVE List V5
- https://hackerone.com/reports/344595CVE reference · x_refsource_MISC
- https://github.com/npm/node-tar/commit/b0c58433c22f5e7fe8b1c76373f27e3f81dcd4c8CVE reference · x_refsource_MISC
- https://github.com/npm/node-tar/compare/58a8d43...a5f7779CVE reference · x_refsource_MISC
- RHSA-2019:1821CVE reference · vendor-advisory, x_refsource_REDHAT
- https://nvd.nist.gov/vuln/detail/CVE-2018-20834CVE reference · x_refsource_MISC
- https://github.com/npm/node-tar/commit/7ecef07da6a9e72cc0c4d0c9c6a8e85b6b52395dCVE reference · x_refsource_MISC
- https://github.com/npm/node-tar/commits/v2.2.2CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
