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)
EPSS: 0.021 (79.8th percentile) — read the EPSS interpretation.
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.
Affected products
- Tar-fs_project Tar-fs
- N/a — versions n/a
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
- cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
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.