RHSA-2020:3908MediumCVSS 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 products22
- Red Hat Enterprise Linux Client (v. 7)
- Red Hat Enterprise Linux ComputeNode (v. 7)
- Red Hat Enterprise Linux Server (v. 7)
- Red Hat Enterprise Linux Workstation (v. 7)
- cpio-0:2.11-28.el7.ppc64 as a component of Red Hat Enterprise Linux Server (v. 7)
- cpio-0:2.11-28.el7.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7)
- cpio-0:2.11-28.el7.s390x as a component of Red Hat Enterprise Linux Server (v. 7)
- cpio-0:2.11-28.el7.src as a component of Red Hat Enterprise Linux Client (v. 7)
- cpio-0:2.11-28.el7.src as a component of Red Hat Enterprise Linux ComputeNode (v. 7)
- cpio-0:2.11-28.el7.src as a component of Red Hat Enterprise Linux Server (v. 7)
- cpio-0:2.11-28.el7.src as a component of Red Hat Enterprise Linux Workstation (v. 7)
- cpio-0:2.11-28.el7.x86_64 as a component of Red Hat Enterprise Linux Client (v. 7)
- cpio-0:2.11-28.el7.x86_64 as a component of Red Hat Enterprise Linux ComputeNode (v. 7)
- cpio-0:2.11-28.el7.x86_64 as a component of Red Hat Enterprise Linux Server (v. 7)
- cpio-0:2.11-28.el7.x86_64 as a component of Red Hat Enterprise Linux Workstation (v. 7)
- cpio-debuginfo-0:2.11-28.el7.ppc64 as a component of Red Hat Enterprise Linux Server (v. 7)
- cpio-debuginfo-0:2.11-28.el7.ppc64le as a component of Red Hat Enterprise Linux Server (v. 7)
- cpio-debuginfo-0:2.11-28.el7.s390x as a component of Red Hat Enterprise Linux Server (v. 7)
- cpio-debuginfo-0:2.11-28.el7.x86_64 as a component of Red Hat Enterprise Linux Client (v. 7)
- cpio-debuginfo-0:2.11-28.el7.x86_64 as a component of Red Hat Enterprise Linux ComputeNode (v. 7)
- cpio-debuginfo-0:2.11-28.el7.x86_64 as a component of Red Hat Enterprise Linux Server (v. 7)
- cpio-debuginfo-0:2.11-28.el7.x86_64 as a component of Red Hat Enterprise Linux Workstation (v. 7)
✅ 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 (5)
- selfhttps://access.redhat.com/errata/RHSA-2020:3908
- externalhttps://access.redhat.com/security/updates/classification/#moderate
- externalhttps://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.9_release_notes/index
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1765511
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_3908.json