CVE-2018-20835: tar-fs - Unrestricted File Upload
- Cve: CVE-2018-20835
- Name: tar-fs - Unrestricted File Upload
- 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.
- Impact: Attackers can overwrite arbitrary files on the system, potentially leading to data tampering or privilege escalation.
- Remediation: Update to version 1.16.2 or later.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.02359
- Epss percentile: 0.84189
- Assignee: [email protected]
- Published at: 2019-04-30T19:29:03Z
- Age in days: 2765
- Modified at: 2026-06-17T01:53:33Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-20835
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://hackerone.com/reports/344595 | nvd | 2019-04-30 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| 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 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| tar-fs_project:tar-fs | < 1.16.2 | no | nvd | /v1/products/tar-fs_project/tar-fs |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| mafintosh/tar-fs | commit, compare | yes | /v1/repositories/mafintosh/tar-fs |
Index
- Repositories: 9
- Repositories high signal: 2
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2019-04-30
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts