CVE-2019-14866
published medium CVSS 3.0 · 6.7cpio: improper input validation when writing tar header fields leads to unexpected tar generation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | cpioAll cpio versions before 2.13 | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2020-1505 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | cpio | Fixed | 2.13-r0 | Package fix record |
| Debian | buster | cpio | Advisory build | 2.12+dfsg-9+deb10u1 | DLA-3445-1 |
| Oracle Linux | 7 | cpioaarch64 | Advisory build | 0:2.11-28.el7 | ELSA-2020-3908 |
| Red Hat Enterprise Linux | RHEL-7 | cpioppc64 | Advisory build | 2.11-28.el7 | RHSA-2020:3908 |
| SUSE / openSUSE | SLE-12-SP4 | cpioaarch64 | Advisory build | 2.11-36.6.1 | SUSE-SU-2019:3064-1 |
| Ubuntu | bionic | cpio | Advisory build | 2.12+dfsg-6ubuntu0.18.04.1 | USN-4176-1 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.11 | cpio | Fixed | 2.13-r0 | Package fix record |
| Alpine Linux | v3.12 | cpio | Fixed | 2.13-r0 | Package fix record |
| Alpine Linux | v3.13 | cpio | Fixed | 2.13-r0 | Package fix record |
| Alpine Linux | v3.14 | cpio | Fixed | 2.13-r0 | Package fix record |
| Alpine Linux | v3.15 | cpio | Fixed | 2.13-r0 | Package fix record |
| Alpine Linux | v3.16 | cpio | Fixed | 2.13-r0 | Package fix record |
| Alpine Linux | v3.17 | cpio | Fixed | 2.13-r0 | Package fix record |
| Alpine Linux | v3.18 | cpio | Fixed | 2.13-r0 | Package fix record |
| Alpine Linux | v3.19 | cpio | Fixed | 2.13-r0 | Package fix record |
| Alpine Linux | v3.20 | cpio | Fixed | 2.13-r0 | Package fix record |
| Alpine Linux | v3.21 | cpio | Fixed | 2.13-r0 | Package fix record |
| Alpine Linux | v3.22 | cpio | Fixed | 2.13-r0 | Package fix record |
| Alpine Linux | v3.23 | cpio | Fixed | 2.13-r0 | Package fix record |
| Alpine Linux | v3.24 | cpio | Fixed | 2.13-r0 | Package fix record |
| Debian | jessie | cpio | Advisory build | 2.11+dfsg-4.1+deb8u2 | DLA-1981-1 |
| Oracle Linux | 7 | cpiox86_64 | Advisory build | 0:2.11-28.el7 | ELSA-2020-3908 |
| Oracle Linux | 8 | cpioaarch64 | Advisory build | 0:2.12-10.el8 | ELSA-2021-1582 |
| Oracle Linux | 8 | cpiox86_64 | Advisory build | 0:2.12-10.el8 | ELSA-2021-1582 |
| Red Hat Enterprise Linux | RHEL-7 | cpioppc64le | Advisory build | 2.11-28.el7 | RHSA-2020:3908 |
| Red Hat Enterprise Linux | RHEL-7 | cpios390x | Advisory build | 2.11-28.el7 | RHSA-2020:3908 |
| Red Hat Enterprise Linux | RHEL-7 | cpiosrc | Advisory build | 2.11-28.el7 | RHSA-2020:3908 |
| Red Hat Enterprise Linux | RHEL-7 | cpiox86_64 | Advisory build | 2.11-28.el7 | RHSA-2020:3908 |
| Red Hat Enterprise Linux | RHEL-8 | cpioaarch64 | Advisory build | 2.12-10.el8 | RHSA-2021:1582 |
| Red Hat Enterprise Linux | RHEL-8 | cpioaarch64 | Advisory build | 2.12-8.el8_2.1 | RHSA-2022:0073 |
| Red Hat Enterprise Linux | RHEL-8 | cpioppc64le | Advisory build | 2.12-10.el8 | RHSA-2021:1582 |
| Red Hat Enterprise Linux | RHEL-8 | cpioppc64le | Advisory build | 2.12-8.el8_2.1 | RHSA-2022:0073 |
| Red Hat Enterprise Linux | RHEL-8 | cpios390x | Advisory build | 2.12-10.el8 | RHSA-2021:1582 |
| Red Hat Enterprise Linux | RHEL-8 | cpios390x | Advisory build | 2.12-8.el8_2.1 | RHSA-2022:0073 |
| Red Hat Enterprise Linux | RHEL-8 | cpiosrc | Advisory build | 2.12-10.el8 | RHSA-2021:1582 |
| Red Hat Enterprise Linux | RHEL-8 | cpiosrc | Advisory build | 2.12-8.el8_2.1 | RHSA-2022:0073 |
| Red Hat Enterprise Linux | RHEL-8 | cpiox86_64 | Advisory build | 2.12-10.el8 | RHSA-2021:1582 |
| Red Hat Enterprise Linux | RHEL-8 | cpiox86_64 | Advisory build | 2.12-8.el8_2.1 | RHSA-2022:0073 |
| SUSE / openSUSE | SLE-12-SP4 | cpioppc64le | Advisory build | 2.11-36.6.1 | SUSE-SU-2019:3064-1 |
| SUSE / openSUSE | SLE-12-SP4 | cpios390x | Advisory build | 2.11-36.6.1 | SUSE-SU-2019:3064-1 |
| SUSE / openSUSE | SLE-12-SP4 | cpiox86_64 | Advisory build | 2.11-36.6.1 | SUSE-SU-2019:3064-1 |
| SUSE / openSUSE | SLE-12-SP5 | cpioaarch64 | Advisory build | 2.11-36.6.1 | SUSE-SU-2019:3064-1 |
| SUSE / openSUSE | SLE-12-SP5 | cpioppc64le | Advisory build | 2.11-36.6.1 | SUSE-SU-2019:3064-1 |
| SUSE / openSUSE | SLE-12-SP5 | cpios390x | Advisory build | 2.11-36.6.1 | SUSE-SU-2019:3064-1 |
| SUSE / openSUSE | SLE-12-SP5 | cpiox86_64 | Advisory build | 2.11-36.6.1 | SUSE-SU-2019:3064-1 |
| SUSE / openSUSE | SLE-15 | cpioaarch64 | Advisory build | 2.12-3.3.1 | SUSE-SU-2019:3059-1 |
| SUSE / openSUSE | SLE-15 | cpioppc64le | Advisory build | 2.12-3.3.1 | SUSE-SU-2019:3059-1 |
| SUSE / openSUSE | SLE-15 | cpios390x | Advisory build | 2.12-3.3.1 | SUSE-SU-2019:3059-1 |
| SUSE / openSUSE | SLE-15 | cpiox86_64 | Advisory build | 2.12-3.3.1 | SUSE-SU-2019:3059-1 |
| SUSE / openSUSE | SLE-15-SP1 | cpioaarch64 | Advisory build | 2.12-3.3.1 | SUSE-SU-2019:3059-1 |
| SUSE / openSUSE | SLE-15-SP1 | cpioppc64le | Advisory build | 2.12-3.3.1 | SUSE-SU-2019:3059-1 |
| SUSE / openSUSE | SLE-15-SP1 | cpios390x | Advisory build | 2.12-3.3.1 | SUSE-SU-2019:3059-1 |
| SUSE / openSUSE | SLE-15-SP1 | cpiox86_64 | Advisory build | 2.12-3.3.1 | SUSE-SU-2019:3059-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | cpioi586 | Advisory build | 2.12-lp150.2.3.1 | OPENSUSE-SU-2019:2593-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | cpiox86_64 | Advisory build | 2.12-lp150.2.3.1 | OPENSUSE-SU-2019:2593-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | cpioi586 | Advisory build | 2.12-lp151.3.3.1 | OPENSUSE-SU-2019:2596-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | cpiox86_64 | Advisory build | 2.12-lp151.3.3.1 | OPENSUSE-SU-2019:2596-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpioaarch64 | Advisory build | 2.13-3.3 | OPENSUSE-SU-2024:10697-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpioppc64le | Advisory build | 2.13-3.3 | OPENSUSE-SU-2024:10697-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpios390x | Advisory build | 2.13-3.3 | OPENSUSE-SU-2024:10697-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cpiox86_64 | Advisory build | 2.13-3.3 | OPENSUSE-SU-2024:10697-1 |
| Ubuntu | esm | cpio | Advisory build | 2.11+dfsg-1ubuntu1.2+esm1 | USN-4176-1 |
| Ubuntu | xenial | cpio | Advisory build | 2.11+dfsg-5ubuntu1.1 | USN-4176-1 |
| Red Hat Enterprise Linux | RHEL-7 | cpio-debuginfoppc64 | Advisory build | 2.11-28.el7 | RHSA-2020:3908 |
| Red Hat Enterprise Linux | RHEL-7 | cpio-debuginfoppc64le | Advisory build | 2.11-28.el7 | RHSA-2020:3908 |
| Red Hat Enterprise Linux | RHEL-7 | cpio-debuginfos390x | Advisory build | 2.11-28.el7 | RHSA-2020:3908 |
| Red Hat Enterprise Linux | RHEL-7 | cpio-debuginfox86_64 | Advisory build | 2.11-28.el7 | RHSA-2020:3908 |
| Red Hat Enterprise Linux | RHEL-8 | cpio-debuginfoaarch64 | Advisory build | 2.12-10.el8 | RHSA-2021:1582 |
| Red Hat Enterprise Linux | RHEL-8 | cpio-debuginfoaarch64 | Advisory build | 2.12-8.el8_2.1 | RHSA-2022:0073 |
| Red Hat Enterprise Linux | RHEL-8 | cpio-debuginfoppc64le | Advisory build | 2.12-10.el8 | RHSA-2021:1582 |
| Red Hat Enterprise Linux | RHEL-8 | cpio-debuginfoppc64le | Advisory build | 2.12-8.el8_2.1 | RHSA-2022:0073 |
| Red Hat Enterprise Linux | RHEL-8 | cpio-debuginfos390x | Advisory build | 2.12-10.el8 | RHSA-2021:1582 |
| Red Hat Enterprise Linux | RHEL-8 | cpio-debuginfos390x | Advisory build | 2.12-8.el8_2.1 | RHSA-2022:0073 |
| Red Hat Enterprise Linux | RHEL-8 | cpio-debuginfox86_64 | Advisory build | 2.12-10.el8 | RHSA-2021:1582 |
| Red Hat Enterprise Linux | RHEL-8 | cpio-debuginfox86_64 | Advisory build | 2.12-8.el8_2.1 | RHSA-2022:0073 |
| Red Hat Enterprise Linux | RHEL-8 | cpio-debugsourceaarch64 | Advisory build | 2.12-10.el8 | RHSA-2021:1582 |
| Red Hat Enterprise Linux | RHEL-8 | cpio-debugsourceaarch64 | Advisory build | 2.12-8.el8_2.1 | RHSA-2022:0073 |
| Red Hat Enterprise Linux | RHEL-8 | cpio-debugsourceppc64le | Advisory build | 2.12-10.el8 | RHSA-2021:1582 |
| Red Hat Enterprise Linux | RHEL-8 | cpio-debugsourceppc64le | Advisory build | 2.12-8.el8_2.1 | RHSA-2022:0073 |
| Red Hat Enterprise Linux | RHEL-8 | cpio-debugsources390x | Advisory build | 2.12-10.el8 | RHSA-2021:1582 |
| Red Hat Enterprise Linux | RHEL-8 | cpio-debugsources390x | Advisory build | 2.12-8.el8_2.1 | RHSA-2022:0073 |
| Red Hat Enterprise Linux | RHEL-8 | cpio-debugsourcex86_64 | Advisory build | 2.12-10.el8 | RHSA-2021:1582 |
| Red Hat Enterprise Linux | RHEL-8 | cpio-debugsourcex86_64 | Advisory build | 2.12-8.el8_2.1 | RHSA-2022:0073 |
| SUSE / openSUSE | SLE-12-SP4 | cpio-langnoarch | Advisory build | 2.11-36.6.1 | SUSE-SU-2019:3064-1 |
| SUSE / openSUSE | SLE-12-SP5 | cpio-langnoarch | Advisory build | 2.11-36.6.1 | SUSE-SU-2019:3064-1 |
| SUSE / openSUSE | SLE-15 | cpio-langnoarch | Advisory build | 2.12-3.3.1 | SUSE-SU-2019:3059-1 |
| SUSE / openSUSE | SLE-15 | cpio-mtaarch64 | Advisory build | 2.12-3.3.1 | SUSE-SU-2019:3059-1 |
| SUSE / openSUSE | SLE-15 | cpio-mtppc64le | Advisory build | 2.12-3.3.1 | SUSE-SU-2019:3059-1 |
| SUSE / openSUSE | SLE-15 | cpio-mts390x | Advisory build | 2.12-3.3.1 | SUSE-SU-2019:3059-1 |
| SUSE / openSUSE | SLE-15 | cpio-mtx86_64 | Advisory build | 2.12-3.3.1 | SUSE-SU-2019:3059-1 |
| SUSE / openSUSE | SLE-15-SP1 | cpio-langnoarch | Advisory build | 2.12-3.3.1 | SUSE-SU-2019:3059-1 |
| SUSE / openSUSE | SLE-15-SP1 | cpio-mtaarch64 | Advisory build | 2.12-3.3.1 | SUSE-SU-2019:3059-1 |
| SUSE / openSUSE | SLE-15-SP1 | cpio-mtppc64le | Advisory build | 2.12-3.3.1 | SUSE-SU-2019:3059-1 |
| SUSE / openSUSE | SLE-15-SP1 | cpio-mts390x | Advisory build | 2.12-3.3.1 | SUSE-SU-2019:3059-1 |
| SUSE / openSUSE | SLE-15-SP1 | cpio-mtx86_64 | Advisory build | 2.12-3.3.1 | SUSE-SU-2019:3059-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | cpio-langnoarch | Advisory build | 2.12-lp150.2.3.1 | OPENSUSE-SU-2019:2593-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | cpio-mti586 | Advisory build | 2.12-lp150.2.3.1 | OPENSUSE-SU-2019:2593-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | cpio-mtx86_64 | Advisory build | 2.12-lp150.2.3.1 | OPENSUSE-SU-2019:2593-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | cpio-langnoarch | Advisory build | 2.12-lp151.3.3.1 | OPENSUSE-SU-2019:2596-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | cpio-mti586 | Advisory build | 2.12-lp151.3.3.1 | OPENSUSE-SU-2019:2596-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 6.7 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | cpio | All cpio versions before 2.13 (affected) | redhat · cna |
Weaknesses
1- CWE-20
References
4Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 215e589b2a6cbcb7c8ee30236f987c9cca8c91be1742e0d4bbe725389b8d292f
- Ingested
- 23 Sep 2026, 07:46:03 UTC
- Source record
- Official CVE record