RHSA-2021:1582MediumCVSS 6.7

Red Hat Security Advisory: cpio security update

Published
May 18, 2021
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 (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)