{"id":"CVE-2018-20835","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.","aliases":["GHSA-x2mc-8fgj-3wmr"],"modified":"2026-07-07T17:11:18.381220Z","published":"2019-04-30T19:29:03.437Z","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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mafintosh/tar-fs","events":[{"introduced":"0"},{"fixed":"a35ce2fd1e91f11cf2eaf78f284c35ad214dbe04"},{"fixed":"06672828e6fa29ac8551b1b6f36c852a9a3c58a2"}],"database_specific":{"cpe":"cpe:2.3:a:tar-fs_project:tar-fs:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.16.2"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v1.16.1","v1.16.0","v1.15.3","v1.15.2","v1.15.1","v1.15.0","v1.14.0","v1.13.2","v1.13.1","v1.13.0","v1.12.0","v1.11.1","v1.11.0","v1.10.0","v1.9.0","v1.8.1","v1.8.0","v1.7.0","v1.6.0","v1.5.1","v1.5.0","v1.4.2","v1.4.1","v1.4.0","v1.3.0","v1.2.0","v1.1.0","v1.0.0","v0.5.2","v0.5.1","v0.5.0","v0.4.1","v0.4.0","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.2","v0.2.1","v0.2.0","v0.1.8","v0.1.7","v0.1.5","v0.1.4","v0.1.3","v0.1.2","v0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-20835.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}