What’s Vulnerable › Vulnerabilities
CVE-2018-20835
- Severity: high (CVSS 7.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2019-04-30 · updated 2026-06-17
- Weakness: CWE-20
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.
Affected products
- Tar-Fs Project Tar-Fs: before 1.16.2 — fixed in 1.16.2
How to fix
Upgrade to a fixed version: Tar-Fs Project Tar-Fs 1.16.2. Check the vendor advisory for mitigations.
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
- https://hackerone.com/reports/344595
Get alerted when CVE-2018-20835 or the next vulnerability affects your stack