Skip to content

CVE-2019-14866 In all versions of cpio before 2.13 does not properly validate input files when generating TAR archives. When cpio is used to create TAR archives from paths an attacker can write to, the resulting arc...

HighCVSS 7.3 EPSS 0.69%
Published
Updated
Exploit status
No public exploit known

Description

In all versions of cpio before 2.13 does not properly validate input files when generating TAR archives. When cpio is used to create TAR archives from paths an attacker can write to, the resulting archive may contain files with permissions the attacker did not have or in paths he did not have access to. Extracting those archives from a high-privilege user without carefully reviewing them may lead to the compromise of the system.

Affected products

ProductAffected versionsFixed in
debian/cpio(Debian:12) < 2.13+dfsg-1 2.13+dfsg-1
debian/cpio(Debian:13) < 2.13+dfsg-1 2.13+dfsg-1
debian/cpio(Debian:14) < 2.13+dfsg-1 2.13+dfsg-1
GNU cpio < 2.13 2.13
redhat enterprise linux = 7.0 No fix listed
redhat enterprise linux = 8.0 No fix listed
alpine/cpio(Alpine:v3.11) < 2.13-r0 2.13-r0
alpine/cpio(Alpine:v3.12) < 2.13-r0 2.13-r0
alpine/cpio(Alpine:v3.13) < 2.13-r0 2.13-r0
alpine/cpio(Alpine:v3.14) < 2.13-r0 2.13-r0
alpine/cpio(Alpine:v3.15) < 2.13-r0 2.13-r0
alpine/cpio(Alpine:v3.16) < 2.13-r0 2.13-r0
alpine/cpio(Alpine:v3.17) < 2.13-r0 2.13-r0
alpine/cpio(Alpine:v3.18) < 2.13-r0 2.13-r0
alpine/cpio(Alpine:v3.19) < 2.13-r0 2.13-r0
alpine/cpio(Alpine:v3.20) < 2.13-r0 2.13-r0
alpine/cpio(Alpine:v3.21) < 2.13-r0 2.13-r0
alpine/cpio(Alpine:v3.22) < 2.13-r0 2.13-r0
alpine/cpio(Alpine:v3.23) < 2.13-r0 2.13-r0
alpine/cpio(Alpine:v3.24) < 2.13-r0 2.13-r0
redhat/cpio = All cpio versions before 2.13 No fix listed

References