CVE-2018-20835

HIGH

Tar-fs < 1.16.2 - Improper Input Validation

Title source: rule
STIX 2.1

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.

References (3)

Core 3
Core References
Exploit, Third Party Advisory x_refsource_misc
https://hackerone.com/reports/344595
Patch, Third Party Advisory x_refsource_misc
https://github.com/mafintosh/tar-fs/compare/d590fc7...a35ce2f

Scores

CVSS v3 7.5
EPSS 0.0018
EPSS Percentile 38.9%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Details

CWE
CWE-20
Status published
Products (2)
npm/tar-fs 0 - 1.16.2npm
tar-fs_project/tar-fs < 1.16.2
Published Apr 30, 2019
Tracked Since Feb 18, 2026