Improper input validation in Tar-Fs Project
CVE-2018-20835
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.024, 84.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 40 other repositories (aglenn-circle/code-scan-test, dbroadhurst-zoic/code-scanning-javascript-demo, Demo-Proj-Org/Code-Scan-Repo-Js, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- hackerone.com/reports/344595 (Exploit, Third Party Advisory)
- github.com/mafintosh/tar-fs/commit/06672828e6fa29ac8551b1b6f36c852a9a3c58a2 (Patch, Third Party Advisory)
- github.com/mafintosh/tar-fs/compare/d590fc7...a35ce2f (Patch, Third Party Advisory)