Ubuntu update for 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 (Ubuntu package) Subscribe
Vendor Canonical Ltd.

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

Update the affected packages.

Ubuntu 19.10
cpio - 2.12+dfsg-9ubuntu0.1
Ubuntu 19.04
cpio - 2.12+dfsg-6ubuntu0.19.04.1
Ubuntu 18.04 LTS
cpio - 2.12+dfsg-6ubuntu0.18.04.1
Ubuntu 16.04 LTS
cpio - 2.11+dfsg-5ubuntu1.1
Ubuntu 14.04 ESM
cpio - 2.11+dfsg-1ubuntu1.2+esm1
Ubuntu 12.04 ESM
cpio - 2.11-7ubuntu3.3

Vulnerable software versions

cpio (Ubuntu package): 2.4.2-7, 2.4.2-8, 2.4.2-9, 2.4.2-10, 2.4.2-11, 2.4.2-12, 2.4.2-13, 2.4.2-14, 2.4.2-15, 2.4.2-16, 2.4.2-17, 2.4.2-18, 2.4.2-19, 2.4.2-20, 2.4.2-21, 2.4.2-22, 2.4.2-23, 2.4.2-24, 2.4.2-25, 2.4.2-26, 2.4.2-27, 2.4.2-28, 2.4.2-29, 2.4.2-30, 2.4.2-31, 2.4.2-32, 2.4.2-33, 2.4.2-34, 2.4.2-35, 2.4.2-37, 2.4.2-38, 2.4.2-39, 2.4.2-40, 2.5-1, 2.5-1.1, 2.5-1.2, 2.6-1, 2.6-2, 2.6-3, 2.6-4, 2.6-5, 2.6-6, 2.6-7, 2.6-8, 2.6-9, 2.6-10, 2.6-11, 2.6-12, 2.6-13, 2.6-14, 2.6-15, 2.6-16, 2.6-17, 2.7-1, 2.7-2, 2.7-3, 2.7-4, 2.8-1, 2.9-1, 2.9-2, 2.9-3, 2.9-4, 2.9-5, 2.9-6, 2.9-7, 2.9-8, 2.9-9, 2.9-10, 2.9-11, 2.9-12, 2.9-13, 2.9-13ubuntu1, 2.9-13ubuntu2, 2.9-14, 2.9-14ubuntu1, 2.9-15, 2.9-15ubuntu1, 2.9.90-2, 2.9.90-3, 2.9.90-3ubuntu1, 2.10-1, 2.10-1ubuntu1, 2.10-1ubuntu2, 2.10-1ubuntu2.1, 2.10-2, 2.11+dfsg-0.1, 2.11+dfsg-0.1ubuntu1, 2.11+dfsg-0.2, 2.11+dfsg-0.2ubuntu1, 2.11+dfsg-1, 2.11+dfsg-1ubuntu1, 2.11+dfsg-1ubuntu1.1, 2.11+dfsg-1ubuntu1.2, 2.11+dfsg-2, 2.11+dfsg-2ubuntu1, 2.11+dfsg-2ubuntu1.1, 2.11+dfsg-3, 2.11+dfsg-4, 2.11+dfsg-4.1, 2.11+dfsg-4.1ubuntu1, 2.11+dfsg-4.1ubuntu1.1, 2.11+dfsg-4ubuntu1, 2.11+dfsg-5, 2.11+dfsg-5ubuntu1, 2.11+dfsg-6, 2.11-1, 2.11-2, 2.11-3, 2.11-4, 2.11-4ubuntu1, 2.11-5, 2.11-5ubuntu1, 2.11-6, 2.11-6ubuntu1, 2.11-7, 2.11-7ubuntu1, 2.11-7ubuntu2, 2.11-7ubuntu3, 2.11-7ubuntu3.1, 2.11-7ubuntu3.2, 2.11-8, 2.11-8ubuntu1, 2.11-8ubuntu2, 2.11-8ubuntu3, 2.11-8ubuntu4, 2.11-8ubuntu5, 2.12+dfsg-1, 2.12+dfsg-2, 2.12+dfsg-3, 2.12+dfsg-4, 2.12+dfsg-5, 2.12+dfsg-6, 2.12+dfsg-7, 2.12+dfsg-8, 2.12+dfsg-9

CPE External links

https://usn.ubuntu.com/4176-1/

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.

Is there known malware, which exploits this vulnerability?

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