Improper input validation in Red Hat cpio
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 7 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | cpio | before 2.13 | 2.13 | Patch available | CNA |
- cpio VendorRed Hat Affected before 2.13 Fixed in 2.13 Patch available CNA
Remediation
Red Hat 4 advisories
- RHSA-2022:0073 Released 2022-01-11 · Red Hat rating Moderatecpio security update
- Red Hat Enterprise Linux BaseOS EUS (v. 8.2) cpio-2.12-8.el8_2.1
- RHSA-2021:1582 Released 2021-05-18 · Red Hat rating Moderatecpio security update
- Red Hat Enterprise Linux BaseOS (v. 8) cpio-2.12-10.el8
- RHSA-2021:0949 Released 2021-03-22 · Red Hat rating LowRed Hat OpenShift Do openshift/odo-init-image 1.1.3 security update
- OpenShift Do 1 openshiftdo/odo-init-image-rhel7
Show 1 more Red Hat advisories
- RHSA-2020:3908 Released 2020-09-29 · Red Hat rating Moderatecpio security update
- Red Hat Enterprise Linux Client (v. 7) cpio-2.11-28.el7
- Red Hat Enterprise Linux ComputeNode (v. 7) cpio-2.11-28.el7
- Red Hat Enterprise Linux Server (v. 7) cpio-2.11-28.el7
- Red Hat Enterprise Linux Workstation (v. 7) cpio-2.11-28.el7
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| OpenShift Do 1 | Fixed | RHSA-2021:0949 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2021:1582 |
| Red Hat Enterprise Linux BaseOS EUS (v. 8.2) | Fixed | RHSA-2022:0073 |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2020:3908 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2020:3908 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2020:3908 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2020:3908 |
Timeline
- 2026-10-02 Threatist record created from CVE-2019-14866
- 2026-10-03 Alias added: GHSA-g3pr-277r-xcx7
References
More Red Hat Enterprise Linux vulnerabilities
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2018-10530 Code injection in [UNKNOWN] RichFaces KEVCVSS 3.1CRITICAL 9.8
- TI-2014-05975 GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed… KEVCVSS 3.1CRITICAL 9.8
- TI-2014-05157 GNU Bash through 4.3 processes trailing strings after function definitions in the values… KEVCVSS 3.1CRITICAL 9.8
- TI-2025-23530 Sudo before 1.9.17p1 allows local users to obtain root access because /etc/nsswitch.conf… KEVCVSS 3.1CRITICAL 9.3
- TI-2021-17490 mod_proxy SSRF KEVCVSS 3.1CRITICAL 9.0
Sources
- CVE-2019-14866 · CVE Program
- CVE-2019-14866 · NVD
- FIRST EPSS
- GHSA-g3pr-277r-xcx7 · GitHub Advisory Database · CC BY 4.0
- CVE-2019-14866 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences