RHSA-2021:1582MediumCVSS 6.7
Red Hat Security Advisory: cpio security update
🔗 CVE IDs covered (1)
📋 Description
CVE-2019-14866 — cpio: improper input validation when writing tar header fields leads to unexpected tar generation
🎯 Affected products14
- Red Hat Enterprise Linux BaseOS (v. 8)
- cpio-0:2.12-10.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- cpio-0:2.12-10.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- cpio-0:2.12-10.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- cpio-0:2.12-10.el8.src as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- cpio-0:2.12-10.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- cpio-debuginfo-0:2.12-10.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- cpio-debuginfo-0:2.12-10.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- cpio-debuginfo-0:2.12-10.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- cpio-debuginfo-0:2.12-10.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- cpio-debugsource-0:2.12-10.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- cpio-debugsource-0:2.12-10.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- cpio-debugsource-0:2.12-10.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- cpio-debugsource-0:2.12-10.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: TAR archives should be inspected before being extracted and the extraction should be performed with the `tar` command or `--no-absolute-filenames` option if done with `cpio`. Moreover, it should be performed by a low-privilege user whenever possible, to prevent extraction of files that could compromise the system.
🔗 References (6)
- selfhttps://access.redhat.com/errata/RHSA-2021:1582
- externalhttps://access.redhat.com/security/updates/classification/#moderate
- externalhttps://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.4_release_notes/
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1487673
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1765511
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_1582.json