
CVE catalog
CVE-2018-20834
node-tar: CVE-2018-20834
- Severity
- High · CVSS 8.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.15% · Oct 25, 2026
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).
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-tar | sid | 7.5.22+~4.0.1-1 | fixed |
| Debian | node-tar | forky | 7.5.22+~4.0.1-1 | fixed |
| Debian | node-tar | trixie | 6.2.1+~cs7.0.8-1+deb13u1 | fixed |
| Debian | node-tar | bookworm | 6.1.13+~cs7.0.5-1 | fixed |
| Debian | node-tar | bookworm-security | 6.1.13+~cs7.0.5-1+deb12u1 | fixed |
| Npm | tar | Not reported | 4.4.2 | fixed |
| Npm | tar | Not reported | 2.2.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-tar | source | sid | 4.4.4+ds1-2 | not yet assigned | Not reported | Not reported |
| Debian | node-tar | source | forky | 4.4.4+ds1-2 | not yet assigned | Not reported | Not reported |
| Debian | node-tar | source | trixie | 4.4.4+ds1-2 | not yet assigned | Not reported | Not reported |
| Debian | node-tar | source | bookworm | 4.4.4+ds1-2 | not yet assigned | Not reported | Not reported |
| Npm | tar | npm | Not reported | 4.4.2 | Not reported | Not reported | Not reported |
| Npm | tar | npm | Not reported | 2.2.2 | Not reported | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-tar]Fixed
Details (4)
6.1.13+~cs7.0.5-1· all · bookwormFixed · Fixed:
4.4.4+ds1-2dsa · node-tar · debian · bookworm; dsa · node-tar · debian · 12
6.1.13+~cs7.0.5-1· all · bookwormFixed · Fixed:
4.4.4+ds1-2dsa · node-tar · debian · bookworm; dsa · node-tar · debian · 12
6.1.13+~cs7.0.5-1+deb12u1· all · bookworm-securityFixed · Fixed:
4.4.4+ds1-2dsa · node-tar · debian · bookworm; dsa · node-tar · debian · 12
6.1.13+~cs7.0.5-1+deb12u1· all · bookworm-securityFixed · Fixed:
4.4.4+ds1-2dsa · node-tar · debian · bookworm; dsa · node-tar · debian · 12
[Debian 13 (Trixie)]
- [node-tar]Fixed
Details (2)
6.2.1+~cs7.0.8-1+deb13u1· all · trixieFixed · Fixed:
4.4.4+ds1-2dsa · node-tar · debian · 13
6.2.1+~cs7.0.8-1+deb13u1· all · trixieFixed · Fixed:
4.4.4+ds1-2dsa · node-tar · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-20834]
- [https://osv.dev/vulnerability/GHSA-j44m-qm6p-hp7m]
- [https://security-tracker.debian.org/tracker/CVE-2018-20834]
- [https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-20834.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2019/wid-sec-w-2023-2535.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]