{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-20834","published":"2019-04-30T19:29:03.327000Z","last_modified":"2026-06-17T01:53:33.490000Z","status":"Modified","cvss":{"version":"3.0","score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-59"],"cpes":[{"criteria":"cpe:2.3:a:isaacs:tar:*:*:*:*:*:*:*:*","part":"a","vendor":"isaacs","product":"tar","version_end_excluding":"2.2.2"},{"criteria":"cpe:2.3:a:isaacs:tar:*:*:*:*:*:*:*:*","part":"a","vendor":"isaacs","product":"tar","version_start_including":"3.0.0","version_end_excluding":"4.4.2"}],"cpes_truncated":false,"vendors":["isaacs"],"products":["isaacs/tar"],"epss":{"score":0.03145,"percentile":0.88689,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-j44m-qm6p-hp7m","ecosystem":"npm","name":"tar","purl":"pkg:npm/tar","ranges":[{"introduced":"3.0.0","fixed":"4.4.2"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-j44m-qm6p-hp7m","ecosystem":"npm","name":"tar","purl":"pkg:npm/tar","ranges":[{"introduced":"0","fixed":"2.2.2"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2018-20834/","html_en":"/en/cve/CVE-2018-20834/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-20834","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-20834"},"untrusted":{"vendor_name":"Isaacs","product_name":"Tar","desc_en":"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).","affected":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2019:1821","tags":[]},{"url":"https://github.com/npm/node-tar/commit/7ecef07da6a9e72cc0c4d0c9c6a8e85b6b52395d","tags":[]},{"url":"https://github.com/npm/node-tar/commit/b0c58433c22f5e7fe8b1c76373f27e3f81dcd4c8","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/npm/node-tar/commits/v2.2.2","tags":[]},{"url":"https://github.com/npm/node-tar/compare/58a8d43...a5f7779","tags":["Patch","Third Party Advisory"]},{"url":"https://hackerone.com/reports/344595","tags":["Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20834","tags":[]}]}}