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.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Cpio | Gnu | * | 2.13 (excluding) |
Red Hat Enterprise Linux 7 | RedHat | cpio-0:2.11-28.el7 | * |
Red Hat Enterprise Linux 8 | RedHat | cpio-0:2.12-10.el8 | * |
Red Hat Enterprise Linux 8.2 Extended Update Support | RedHat | cpio-0:2.12-8.el8_2.1 | * |
Red Hat OpenShift Do | RedHat | openshiftdo/odo-init-image-rhel7:1.1.3-2 | * |
Cpio | Ubuntu | bionic | * |
Cpio | Ubuntu | devel | * |
Cpio | Ubuntu | disco | * |
Cpio | Ubuntu | eoan | * |
Cpio | Ubuntu | trusty | * |
Cpio | Ubuntu | trusty/esm | * |
Cpio | Ubuntu | xenial | * |