{"cve":"CVE-2018-20834","nvd":{"published":"2019-04-30T19:29:03.327","modified":"2026-06-17T01:53:33.490","status":"Modified","description":"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).","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-59"],"references":["https://access.redhat.com/errata/RHSA-2019:1821","https://github.com/npm/node-tar/commit/7ecef07da6a9e72cc0c4d0c9c6a8e85b6b52395d","https://github.com/npm/node-tar/commit/b0c58433c22f5e7fe8b1c76373f27e3f81dcd4c8","https://github.com/npm/node-tar/commits/v2.2.2","https://github.com/npm/node-tar/compare/58a8d43...a5f7779"],"products":["isaacs:tar"],"source":"nvd","synced_at":"2026-10-19T20:56:19.218283075+00:00"},"epss":{"cve":"CVE-2018-20834","score":0.03145,"percentile":0.87928,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-j44m-qm6p-hp7m","url":"https://osv.dev/vulnerability/GHSA-j44m-qm6p-hp7m","summary":"Arbitrary File Overwrite in tar","modified":"2023-11-29T22:25:48Z","packages":[{"ecosystem":"npm","name":"tar","purl":"pkg:npm/tar","ranges":[">=3.0.0 <4.4.2"],"fixed":["4.4.2"]},{"ecosystem":"npm","name":"tar","purl":"pkg:npm/tar","ranges":["<2.2.2"],"fixed":["2.2.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}