{"id":"CVE-2018-20835","aliases":["GHSA-x2mc-8fgj-3wmr"],"url":"https://o3.security/vulnerability/CVE-2018-20835","summary":"Improper Input Validation in tar-fs","details":"A vulnerability was found in tar-fs before 1.16.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.","published":"2019-04-30T19:29:03.437Z","modified":"2026-07-08T16:40:44.983031Z","cvss":{"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"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"tar-fs","fixedVersion":"1.16.2"}],"fix":{"url":"https://github.com/mafintosh/tar-fs/commit/06672828e6fa29ac8551b1b6f36c852a9a3c58a2","label":"mafintosh/tar-fs@0667282"},"references":[{"type":"FIX","url":"https://github.com/mafintosh/tar-fs/commit/06672828e6fa29ac8551b1b6f36c852a9a3c58a2"},{"type":"FIX","url":"https://github.com/mafintosh/tar-fs/compare/d590fc7...a35ce2f"},{"type":"EVIDENCE","url":"https://hackerone.com/reports/344595"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20835"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T16:40:44.983031Z"}}