CVEvulnerability
CVE-2018-20835
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2019-04-30
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS 2.0 ([email protected])
- 6.4 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:P
- Weaknesses
- 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 configurations
• tar-fs project tar-fs (< 1.16.2)
Related
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://github.com/mafintosh/tar-fs/commit/06672828e6fa29ac8551b1b6f36c852a9a3c58a2 Patch, Third Party Advisory
- https://github.com/mafintosh/tar-fs/compare/d590fc7...a35ce2f Patch, Third Party Advisory
- https://hackerone.com/reports/344595 Exploit, Third Party Advisory
- https://github.com/mafintosh/tar-fs/commit/06672828e6fa29ac8551b1b6f36c852a9a3c58a2 Patch, Third Party Advisory
- https://github.com/mafintosh/tar-fs/compare/d590fc7...a35ce2f Patch, Third Party Advisory
- https://hackerone.com/reports/344595 Exploit, Third Party Advisory