Input validation error in cpio - CVE-2019-14866

 

Input validation error in cpio - CVE-2019-14866

Published: November 7, 2019


Vulnerability identifier: #VU22598
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2019-14866
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: GNU
Affected software:
cpio

Detailed vulnerability 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.


How to mitigate CVE-2019-14866

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

Sources