Information disclosure in GNU cpio

Published: 2019-11-07 | Updated: 2019-11-07
Severity Low
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2019-14866
CWE ID CWE-20
Exploitation vector Local
Public exploit N/A
Vulnerable software cpio Subscribe
Vendor GNU

Security Advisory

This security advisory describes one low risk vulnerability.

1) Input validation error

Severity: Low

CVSSv3: 2.6 [CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N/E:U/RL:U/RC:C]

CVE-ID: CVE-2019-14866

CWE-ID: CWE-20 - Improper Input Validation

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to GNU cpio does not properly validate files when writing tar headers during tar archive creation. A local user can trick the victim into creating a tar archive out of a directory with specially crafted files. As a result the generated archive may contain files that the attacker does not have access to.

Mitigation

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Vulnerable software versions

cpio: 1.0, 1.1, 1.2, 1.3, 2.4-2, 2.5, 2.5.90, 2.6, 2.6-8, 2.7, 2.8, 2.9, 2.10, 2.11

CPE External links

https://lists.gnu.org/archive/html/bug-cpio/2019-08/msg00003.html

https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14866


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

How the attacker can exploit this vulnerability?

The attacker would have to trick the victim to open a a specially crafted archive.

The attacker would have to login to the system and perform certain actions in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.