Skip to content
OpenAdvisories
Medium · 6.7 CVE-2019-14866 EUVD-2019-5982GHSA-g3pr-277r-xcx7

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 ar…

Published Jan 7, 2020 · Updated Feb 13, 2025 · Assigned by redhat

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

VendorProductAffectedFixed
Red Hat cpio All cpio versions before 2.13 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cpio 2.13+dfsg-1 —
Debian 13 cpio 2.13+dfsg-1 —
Debian 12 cpio 2.13+dfsg-1 —
Debian 10 cpio 2.12+dfsg-9+deb10u1 DLA-3445-1
Debian 8 cpio 2.11+dfsg-4.1+deb8u2 DLA-1981-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS cpio 2.12+dfsg-6ubuntu0.18.04.1 USN-4176-1
Ubuntu 16.04 LTS cpio 2.11+dfsg-5ubuntu1.1 USN-4176-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS cpio 2.11+dfsg-1ubuntu1.2+esm1 USN-4176-1
ReleasePackageFixed inAdvisory
RHEL 8 cpio 2.12-10.el8 RHSA-2021:1582
RHEL 7 cpio 2.11-28.el7 RHSA-2020:3908
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.2 EUS cpio 2.12-8.el8_2.1 RHSA-2022:0073

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 cpio 2.12-10.el8 RLSA-2021:1582
ReleasePackageFixed inAdvisory
SLES 15 SP1 cpio 2.12-3.3.1 SUSE-SU-2019:3059-1
SLES 15 cpio 2.12-3.3.1 SUSE-SU-2019:3059-1
SLES 12 SP5 cpio 2.11-36.6.1 SUSE-SU-2019:3064-1
SLES 12 SP4 cpio 2.11-36.6.1 SUSE-SU-2019:3064-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 cpio 2.11-36.6.1 SUSE-SU-2019:3064-1
SLES for SAP 12 SP4 cpio 2.11-36.6.1 SUSE-SU-2019:3064-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cpio 2.13-3.3 openSUSE-SU-2024:10697-1
openSUSE Leap 15.1 cpio 2.12-lp151.3.3.1 openSUSE-SU-2019:2596-1
openSUSE Leap 15.0 cpio 2.12-lp150.2.3.1 openSUSE-SU-2019:2593-1
ReleasePackageFixed inAdvisory
Alpine v3.24 cpio 2.13-r0 —
Alpine v3.23 cpio 2.13-r0 —
Alpine v3.22 cpio 2.13-r0 —
Alpine v3.21 cpio 2.13-r0 —
Alpine v3.20 cpio 2.13-r0 —
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 cpio 2.13-r0 —
Alpine v3.18 cpio 2.13-r0 —
Alpine v3.17 cpio 2.13-r0 —
Alpine v3.16 cpio 2.13-r0 —
Alpine v3.15 cpio 2.13-r0 —
Alpine v3.14 cpio 2.13-r0 —
Alpine v3.13 cpio 2.13-r0 —
Alpine v3.12 cpio 2.13-r0 —
Alpine v3.11 cpio 2.13-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 cpio 2.11-28.amzn2 ALAS2-2020-1505

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 cpio 2.12-10.el8 ELSA-2021-1582
Oracle Linux 7 cpio 2.11-28.el7 ELSA-2020-3908

Advisories 19

References