{"cve":"CVE-2018-20835","nvd":{"published":"2019-04-30T19:29:03.437","modified":"2026-06-17T01:53:33.670","status":"Modified","description":"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.","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-20"],"references":["https://github.com/mafintosh/tar-fs/commit/06672828e6fa29ac8551b1b6f36c852a9a3c58a2","https://github.com/mafintosh/tar-fs/compare/d590fc7...a35ce2f","https://hackerone.com/reports/344595","https://github.com/mafintosh/tar-fs/commit/06672828e6fa29ac8551b1b6f36c852a9a3c58a2","https://github.com/mafintosh/tar-fs/compare/d590fc7...a35ce2f"],"products":["tar-fs_project:tar-fs"],"source":"nvd","synced_at":"2026-10-19T20:56:19.218283075+00:00"},"epss":{"cve":"CVE-2018-20835","score":0.02359,"percentile":0.83768,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-x2mc-8fgj-3wmr","url":"https://osv.dev/vulnerability/GHSA-x2mc-8fgj-3wmr","summary":"Improper Input Validation in tar-fs","modified":"2023-11-08T04:00:12.892530Z","packages":[{"ecosystem":"npm","name":"tar-fs","purl":"pkg:npm/tar-fs","ranges":["<1.16.2"],"fixed":["1.16.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."]}