{"id":"CVE-2018-20834","url":"https://www.cyber-defence.io/tools/cve/CVE-2018-20834","generatedAt":"2026-10-28T21:20:22.164Z","title":"A vulnerability was found in node-tar before version 4.4.2 (excluding version 2.2.2).","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).","published":"2019-04-30T19:29:03.000Z","lastModified":"2026-06-17T01:53:33.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","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"},"cwe":["CWE-59"],"affected":["isaacs/tar"],"epss":{"score":0.03145,"percentile":0.87858,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (3.15%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2019:1821","source":"cve@mitre.org"},{"url":"https://github.com/npm/node-tar/commit/7ecef07da6a9e72cc0c4d0c9c6a8e85b6b52395d","source":"cve@mitre.org"},{"url":"https://github.com/npm/node-tar/commit/b0c58433c22f5e7fe8b1c76373f27e3f81dcd4c8","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/npm/node-tar/commits/v2.2.2","source":"cve@mitre.org"},{"url":"https://github.com/npm/node-tar/compare/58a8d43...a5f7779","tags":["Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://hackerone.com/reports/344595","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20834","source":"cve@mitre.org"},{"url":"https://access.redhat.com/errata/RHSA-2019:1821","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/npm/node-tar/commit/7ecef07da6a9e72cc0c4d0c9c6a8e85b6b52395d","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/npm/node-tar/commit/b0c58433c22f5e7fe8b1c76373f27e3f81dcd4c8","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/npm/node-tar/commits/v2.2.2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/npm/node-tar/compare/58a8d43...a5f7779","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://hackerone.com/reports/344595","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20834","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-20834","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}