RHSA-2022:0073MediumCVSS 6.7

Red Hat Security Advisory: cpio security update

Published
January 11, 2022
Last Modified
November 7, 2026

🔗 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 EUS (v. 8.2)
  • cpio-0:2.12-8.el8_2.1.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)
  • cpio-0:2.12-8.el8_2.1.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)
  • cpio-0:2.12-8.el8_2.1.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)
  • cpio-0:2.12-8.el8_2.1.src as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)
  • cpio-0:2.12-8.el8_2.1.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)
  • cpio-debuginfo-0:2.12-8.el8_2.1.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)
  • cpio-debuginfo-0:2.12-8.el8_2.1.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)
  • cpio-debuginfo-0:2.12-8.el8_2.1.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)
  • cpio-debuginfo-0:2.12-8.el8_2.1.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)
  • cpio-debugsource-0:2.12-8.el8_2.1.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)
  • cpio-debugsource-0:2.12-8.el8_2.1.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)
  • cpio-debugsource-0:2.12-8.el8_2.1.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)
  • cpio-debugsource-0:2.12-8.el8_2.1.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.2)

✅ 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 (4)