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 (83.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 83rd percentile — 83.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.021 · newest: 0.024 · change: +0.003
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
- Demo-Proj-Org/Code-Scan-Repo-Js
- Executor986/codescanningdemo
- GSaraySWO/ghas-bootcamp-javascript
- Gitleaks-repo/Gitleaks2
- HitenBorse/MyRepository
- JS00571119/Zipslip
- Mariselvam-T/code-scanning-javascript-demo_
- NightHack36/code-scaning-java
- Organizacion-GHAS-bootcamp/ghas-bootcamp-javascript
- Repository-with-Findings/2-Gitleaks
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)
Frequently asked questions
- What is CVE-2018-20835?
- CVE-2018-20835 is a high-severity vulnerability in Tar-Fs Project, classified under Improper Input Validation. CVSS score: 7.5/10. Published 2019-04-30.
- How severe is CVE-2018-20835?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2018-20835 known to be exploited?
- 40 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.