CVE-2018-20834Isaacs Tar
High 7.5 No auth needed
Follow: this CVE · Isaacs · Isaacs Tar We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- 3.1% probability of exploitation in 30 days · percentile 89
- Auth required
- No
- Published
- Apr 30, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-59
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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).
What to do
- Apply the vendor's security update for Tar.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | tar |
≥ 3.0.0 < 4.4.2 |
4.4.2 |
npm install tar@4.4.2 |
| npm | tar |
< 2.2.2 |
2.2.2 |
npm install tar@2.2.2 |
Per OSV / GitHub Advisories (GHSA-j44m-qm6p-hp7m). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| isaacs | tar | < 2.2.2 |
| isaacs | tar | ≥ 3.0.0 < 4.4.2 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com
- github.com
- github.com Patch Third Party Advisory
- github.com
- github.com Patch Third Party Advisory
- hackerone.com Exploit Third Party Advisory
- nvd.nist.gov