CVE-2018-20835
mediumpriority · track · 31EPSS 0.024 · 84 %ileEUUSEPSS · scored 2026-10-28
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.4–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-x2mc-8fgj-3wmrImproper Input Validation in tar-fs2019-05-01ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://github.com/mafintosh/tar-fs/commit/06672828e6fa29ac8551b1b6f36c852a9a3c58a2cnnvd
- https://github.com/mafintosh/tar-fs/compare/d590fc7...a35ce2fcnnvd
- https://hackerone.com/reports/344595cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2018-20835cnnvd
- https://github.com/mafintosh/tar-fs/commit/06672828e6fa29ac8551b1b6f36c852a9a3c58a2enisa_euvd
- https://github.com/mafintosh/tar-fs/compare/d590fc7...a35ce2fenisa_euvd
- https://hackerone.com/reports/344595enisa_euvd
- https://github.com/mafintosh/tar-fs/commit/06672828e6fa29ac8551b1b6f36c852a9a3c58a2PatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan