CVE-2018-20835: Input Validation

Published Apr 30, 2019
·
Updated

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.

Affected Software

1 affected component
Tar-fs Project Tar-fs<1.16.2

Event History

Apr 30, 2019
CVE Published
via MITRE·06:02 PM
Data Sourced
via MITRE·06:02 PM
Description

Frequently Asked Questions

1

What does an attacker need to exploit this issue?

An attacker needs to supply a crafted tar archive that is extracted by a vulnerable tar-fs version. The archive must contain a hardlink to an existing system file and a later regular file using the same name as that hardlink.

2

Which deployments are exposed?

Deployments using tar-fs versions before 1.16.2 are exposed when they extract tarballs that an attacker can control or influence. The CVSS vector indicates exploitation can be performed remotely without privileges or user interaction.

3

What is the impact of successful exploitation?

Successful exploitation can overwrite the contents of an existing file on the system. The stated impact is integrity loss; no confidentiality or availability impact is specified.

4

What should be done if patching cannot happen immediately?

Avoid extracting untrusted or attacker-influenced tar archives with the affected tar-fs versions. Restrict archive extraction to trusted inputs until the available patch can be applied.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203