Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Security Measurement
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Insights
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Insights
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHSA-2022:1991 - Security Advisory
Issued:
2022-05-10
Updated:
2022-05-10

RHSA-2022:1991 - Security Advisory

  • Overview
  • Updated Packages

Synopsis

Moderate: cpio security update

Type/Severity

Security Advisory: Moderate

Red Hat Insights patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An update for cpio is now available for Red Hat Enterprise Linux 8.

Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

Description

The cpio packages provide the GNU cpio utility for creating and extracting archives, or copying files from one place to another.

Security Fix(es):

  • cpio: integer overflow in ds_fgetstr() in dstring.c can lead to an out-of-bounds write via a crafted pattern file (CVE-2021-38185)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.6 Release Notes linked from the References section.

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

Affected Products

  • Red Hat Enterprise Linux for x86_64 8 x86_64
  • Red Hat Enterprise Linux for x86_64 - Extended Update Support 8.8 x86_64
  • Red Hat Enterprise Linux for x86_64 - Extended Update Support Extension 8.8 x86_64
  • Red Hat Enterprise Linux for x86_64 - Extended Update Support 8.6 x86_64
  • Red Hat Enterprise Linux for x86_64 - Extended Update Support Extension 8.6 x86_64
  • Red Hat Enterprise Linux Server - AUS 8.6 x86_64
  • Red Hat Enterprise Linux for IBM z Systems 8 s390x
  • Red Hat Enterprise Linux for IBM z Systems - Extended Update Support 8.8 s390x
  • Red Hat Enterprise Linux for IBM z Systems - Extended Update Support 8.6 s390x
  • Red Hat Enterprise Linux for Power, little endian 8 ppc64le
  • Red Hat Enterprise Linux for Power, little endian - Extended Update Support 8.8 ppc64le
  • Red Hat Enterprise Linux for Power, little endian - Extended Update Support 8.6 ppc64le
  • Red Hat Enterprise Linux Server - TUS 8.8 x86_64
  • Red Hat Enterprise Linux Server - TUS 8.6 x86_64
  • Red Hat Enterprise Linux for ARM 64 8 aarch64
  • Red Hat Enterprise Linux for ARM 64 - Extended Update Support 8.8 aarch64
  • Red Hat Enterprise Linux for ARM 64 - Extended Update Support 8.6 aarch64
  • Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions 8.8 ppc64le
  • Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions 8.6 ppc64le
  • Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions 8.8 x86_64
  • Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions 8.6 x86_64

Fixes

  • BZ - 1991731 - CVE-2021-38185 cpio: integer overflow in ds_fgetstr() in dstring.c can lead to an out-of-bounds write via a crafted pattern file

CVEs

  • CVE-2021-38185

References

  • https://access.redhat.com/security/updates/classification/#moderate
  • https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.6_release_notes/
Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Enterprise Linux for x86_64 8

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
x86_64
cpio-2.12-11.el8.x86_64.rpm SHA-256: b2f076bf0b561c06b78adeb78be388d74606a8112530161073bf9c877eb1f744
cpio-debuginfo-2.12-11.el8.x86_64.rpm SHA-256: a205eb42d10505a19103cbdcd5a7476a4bf44abbb8789e801204715f635ed16d
cpio-debugsource-2.12-11.el8.x86_64.rpm SHA-256: 95a5f9c5c12d5263f30548eeb75c91923d6d6a4cbf63117d1db2b7ec6b859564

Red Hat Enterprise Linux for x86_64 - Extended Update Support 8.8

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
x86_64
cpio-2.12-11.el8.x86_64.rpm SHA-256: b2f076bf0b561c06b78adeb78be388d74606a8112530161073bf9c877eb1f744
cpio-debuginfo-2.12-11.el8.x86_64.rpm SHA-256: a205eb42d10505a19103cbdcd5a7476a4bf44abbb8789e801204715f635ed16d
cpio-debugsource-2.12-11.el8.x86_64.rpm SHA-256: 95a5f9c5c12d5263f30548eeb75c91923d6d6a4cbf63117d1db2b7ec6b859564

Red Hat Enterprise Linux for x86_64 - Extended Update Support Extension 8.8

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
x86_64
cpio-2.12-11.el8.x86_64.rpm SHA-256: b2f076bf0b561c06b78adeb78be388d74606a8112530161073bf9c877eb1f744
cpio-debuginfo-2.12-11.el8.x86_64.rpm SHA-256: a205eb42d10505a19103cbdcd5a7476a4bf44abbb8789e801204715f635ed16d
cpio-debugsource-2.12-11.el8.x86_64.rpm SHA-256: 95a5f9c5c12d5263f30548eeb75c91923d6d6a4cbf63117d1db2b7ec6b859564

Red Hat Enterprise Linux for x86_64 - Extended Update Support Extension 8.6

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
x86_64
cpio-2.12-11.el8.x86_64.rpm SHA-256: b2f076bf0b561c06b78adeb78be388d74606a8112530161073bf9c877eb1f744
cpio-debuginfo-2.12-11.el8.x86_64.rpm SHA-256: a205eb42d10505a19103cbdcd5a7476a4bf44abbb8789e801204715f635ed16d
cpio-debugsource-2.12-11.el8.x86_64.rpm SHA-256: 95a5f9c5c12d5263f30548eeb75c91923d6d6a4cbf63117d1db2b7ec6b859564

Red Hat Enterprise Linux for x86_64 - Extended Update Support 8.6

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
x86_64
cpio-2.12-11.el8.x86_64.rpm SHA-256: b2f076bf0b561c06b78adeb78be388d74606a8112530161073bf9c877eb1f744
cpio-debuginfo-2.12-11.el8.x86_64.rpm SHA-256: a205eb42d10505a19103cbdcd5a7476a4bf44abbb8789e801204715f635ed16d
cpio-debugsource-2.12-11.el8.x86_64.rpm SHA-256: 95a5f9c5c12d5263f30548eeb75c91923d6d6a4cbf63117d1db2b7ec6b859564

Red Hat Enterprise Linux Server - AUS 8.6

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
x86_64
cpio-2.12-11.el8.x86_64.rpm SHA-256: b2f076bf0b561c06b78adeb78be388d74606a8112530161073bf9c877eb1f744
cpio-debuginfo-2.12-11.el8.x86_64.rpm SHA-256: a205eb42d10505a19103cbdcd5a7476a4bf44abbb8789e801204715f635ed16d
cpio-debugsource-2.12-11.el8.x86_64.rpm SHA-256: 95a5f9c5c12d5263f30548eeb75c91923d6d6a4cbf63117d1db2b7ec6b859564

Red Hat Enterprise Linux for IBM z Systems 8

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
s390x
cpio-2.12-11.el8.s390x.rpm SHA-256: ffed2de5fc3472ccbae329708586599bd925cb7fb59e470f692eb682506fde59
cpio-debuginfo-2.12-11.el8.s390x.rpm SHA-256: 56ee5d0b7d3ee6bee5b1d4e75bbc5398ff2ae2598fb3c7d14ef6aa9df08b8d38
cpio-debugsource-2.12-11.el8.s390x.rpm SHA-256: b8ddc3b03da55a95c2e54ffbb91b125c5a5594fc7a1775d7851a31bbc426116d

Red Hat Enterprise Linux for IBM z Systems - Extended Update Support 8.8

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
s390x
cpio-2.12-11.el8.s390x.rpm SHA-256: ffed2de5fc3472ccbae329708586599bd925cb7fb59e470f692eb682506fde59
cpio-debuginfo-2.12-11.el8.s390x.rpm SHA-256: 56ee5d0b7d3ee6bee5b1d4e75bbc5398ff2ae2598fb3c7d14ef6aa9df08b8d38
cpio-debugsource-2.12-11.el8.s390x.rpm SHA-256: b8ddc3b03da55a95c2e54ffbb91b125c5a5594fc7a1775d7851a31bbc426116d

Red Hat Enterprise Linux for IBM z Systems - Extended Update Support 8.6

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
s390x
cpio-2.12-11.el8.s390x.rpm SHA-256: ffed2de5fc3472ccbae329708586599bd925cb7fb59e470f692eb682506fde59
cpio-debuginfo-2.12-11.el8.s390x.rpm SHA-256: 56ee5d0b7d3ee6bee5b1d4e75bbc5398ff2ae2598fb3c7d14ef6aa9df08b8d38
cpio-debugsource-2.12-11.el8.s390x.rpm SHA-256: b8ddc3b03da55a95c2e54ffbb91b125c5a5594fc7a1775d7851a31bbc426116d

Red Hat Enterprise Linux for Power, little endian 8

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
ppc64le
cpio-2.12-11.el8.ppc64le.rpm SHA-256: 36c617f63f094ec9b0830ad203633ab090154fa55ee5a8c1410e8d06ed3eade2
cpio-debuginfo-2.12-11.el8.ppc64le.rpm SHA-256: c7b65dd9c7cbf00e182d1db19793838edb3fdfc257ae8dcf0e2b8fef3915b1cb
cpio-debugsource-2.12-11.el8.ppc64le.rpm SHA-256: fb94d3e262365ed344c2bc4c377f811c575b51de161b0899915e70cc109726cd

Red Hat Enterprise Linux for Power, little endian - Extended Update Support 8.8

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
ppc64le
cpio-2.12-11.el8.ppc64le.rpm SHA-256: 36c617f63f094ec9b0830ad203633ab090154fa55ee5a8c1410e8d06ed3eade2
cpio-debuginfo-2.12-11.el8.ppc64le.rpm SHA-256: c7b65dd9c7cbf00e182d1db19793838edb3fdfc257ae8dcf0e2b8fef3915b1cb
cpio-debugsource-2.12-11.el8.ppc64le.rpm SHA-256: fb94d3e262365ed344c2bc4c377f811c575b51de161b0899915e70cc109726cd

Red Hat Enterprise Linux for Power, little endian - Extended Update Support 8.6

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
ppc64le
cpio-2.12-11.el8.ppc64le.rpm SHA-256: 36c617f63f094ec9b0830ad203633ab090154fa55ee5a8c1410e8d06ed3eade2
cpio-debuginfo-2.12-11.el8.ppc64le.rpm SHA-256: c7b65dd9c7cbf00e182d1db19793838edb3fdfc257ae8dcf0e2b8fef3915b1cb
cpio-debugsource-2.12-11.el8.ppc64le.rpm SHA-256: fb94d3e262365ed344c2bc4c377f811c575b51de161b0899915e70cc109726cd

Red Hat Enterprise Linux Server - TUS 8.8

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
x86_64
cpio-2.12-11.el8.x86_64.rpm SHA-256: b2f076bf0b561c06b78adeb78be388d74606a8112530161073bf9c877eb1f744
cpio-debuginfo-2.12-11.el8.x86_64.rpm SHA-256: a205eb42d10505a19103cbdcd5a7476a4bf44abbb8789e801204715f635ed16d
cpio-debugsource-2.12-11.el8.x86_64.rpm SHA-256: 95a5f9c5c12d5263f30548eeb75c91923d6d6a4cbf63117d1db2b7ec6b859564

Red Hat Enterprise Linux Server - TUS 8.6

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
x86_64
cpio-2.12-11.el8.x86_64.rpm SHA-256: b2f076bf0b561c06b78adeb78be388d74606a8112530161073bf9c877eb1f744
cpio-debuginfo-2.12-11.el8.x86_64.rpm SHA-256: a205eb42d10505a19103cbdcd5a7476a4bf44abbb8789e801204715f635ed16d
cpio-debugsource-2.12-11.el8.x86_64.rpm SHA-256: 95a5f9c5c12d5263f30548eeb75c91923d6d6a4cbf63117d1db2b7ec6b859564

Red Hat Enterprise Linux for ARM 64 8

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
aarch64
cpio-2.12-11.el8.aarch64.rpm SHA-256: c484011adcac36b567c1210eda8be22ac0e5429d6eadd7c3945b877d5d72ceb0
cpio-debuginfo-2.12-11.el8.aarch64.rpm SHA-256: 6211a058544da27299167f6555443dc9f7f0a04cd3cbfcae813fed5eb51f65ce
cpio-debugsource-2.12-11.el8.aarch64.rpm SHA-256: ce861d65191003d0e751685f74f92e3e941160bbcdc00df46047818d6a11ac65

Red Hat Enterprise Linux for ARM 64 - Extended Update Support 8.8

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
aarch64
cpio-2.12-11.el8.aarch64.rpm SHA-256: c484011adcac36b567c1210eda8be22ac0e5429d6eadd7c3945b877d5d72ceb0
cpio-debuginfo-2.12-11.el8.aarch64.rpm SHA-256: 6211a058544da27299167f6555443dc9f7f0a04cd3cbfcae813fed5eb51f65ce
cpio-debugsource-2.12-11.el8.aarch64.rpm SHA-256: ce861d65191003d0e751685f74f92e3e941160bbcdc00df46047818d6a11ac65

Red Hat Enterprise Linux for ARM 64 - Extended Update Support 8.6

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
aarch64
cpio-2.12-11.el8.aarch64.rpm SHA-256: c484011adcac36b567c1210eda8be22ac0e5429d6eadd7c3945b877d5d72ceb0
cpio-debuginfo-2.12-11.el8.aarch64.rpm SHA-256: 6211a058544da27299167f6555443dc9f7f0a04cd3cbfcae813fed5eb51f65ce
cpio-debugsource-2.12-11.el8.aarch64.rpm SHA-256: ce861d65191003d0e751685f74f92e3e941160bbcdc00df46047818d6a11ac65

Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions 8.8

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
ppc64le
cpio-2.12-11.el8.ppc64le.rpm SHA-256: 36c617f63f094ec9b0830ad203633ab090154fa55ee5a8c1410e8d06ed3eade2
cpio-debuginfo-2.12-11.el8.ppc64le.rpm SHA-256: c7b65dd9c7cbf00e182d1db19793838edb3fdfc257ae8dcf0e2b8fef3915b1cb
cpio-debugsource-2.12-11.el8.ppc64le.rpm SHA-256: fb94d3e262365ed344c2bc4c377f811c575b51de161b0899915e70cc109726cd

Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions 8.6

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
ppc64le
cpio-2.12-11.el8.ppc64le.rpm SHA-256: 36c617f63f094ec9b0830ad203633ab090154fa55ee5a8c1410e8d06ed3eade2
cpio-debuginfo-2.12-11.el8.ppc64le.rpm SHA-256: c7b65dd9c7cbf00e182d1db19793838edb3fdfc257ae8dcf0e2b8fef3915b1cb
cpio-debugsource-2.12-11.el8.ppc64le.rpm SHA-256: fb94d3e262365ed344c2bc4c377f811c575b51de161b0899915e70cc109726cd

Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions 8.8

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
x86_64
cpio-2.12-11.el8.x86_64.rpm SHA-256: b2f076bf0b561c06b78adeb78be388d74606a8112530161073bf9c877eb1f744
cpio-debuginfo-2.12-11.el8.x86_64.rpm SHA-256: a205eb42d10505a19103cbdcd5a7476a4bf44abbb8789e801204715f635ed16d
cpio-debugsource-2.12-11.el8.x86_64.rpm SHA-256: 95a5f9c5c12d5263f30548eeb75c91923d6d6a4cbf63117d1db2b7ec6b859564

Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions 8.6

SRPM
cpio-2.12-11.el8.src.rpm SHA-256: 23581dd4cd8175797ee2c6c4ae48fd679e8d3a5375ebc41df056a497334443db
x86_64
cpio-2.12-11.el8.x86_64.rpm SHA-256: b2f076bf0b561c06b78adeb78be388d74606a8112530161073bf9c877eb1f744
cpio-debuginfo-2.12-11.el8.x86_64.rpm SHA-256: a205eb42d10505a19103cbdcd5a7476a4bf44abbb8789e801204715f635ed16d
cpio-debugsource-2.12-11.el8.x86_64.rpm SHA-256: 95a5f9c5c12d5263f30548eeb75c91923d6d6a4cbf63117d1db2b7ec6b859564

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2025 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility