CVE-2021-38185

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

CVE-2021-38185 is fixed in 4 products on 1 platform, first by cpio 2.12+dfsg-6ubuntu0.18.04.4, released August 7, 2021. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.8
Moderate
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0417
90th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
cpio · RHEL 8 0:2.12-11.el8 RHSA-2022:1991 May 10, 2022
cpio · Ubuntu 18.04.6 LTS (bionic) 2.12+dfsg-6ubuntu0.18.04.4 cpio 2.12+dfsg-6ubuntu0.18.04.4 Aug 7, 2021
cpio · Ubuntu 20.04 LTS (focal) 2.13+dfsg-2ubuntu0.3 cpio 2.13+dfsg-2ubuntu0.3 Aug 7, 2021
cpio · Ubuntu 22.04.1 LTS (jammy) 2.13+dfsg-4ubuntu4 cpio 2.13+dfsg-4ubuntu4 Aug 7, 2021
cpio · almalinux 8 2.12-11.el8 ALSA-2022:1991 May 10, 2022
cpio · amzn 2023 2.13-13.amzn2023.0.2 ALAS2023-2023-021 Feb 17, 2023
cpio · ol 8 0:2.12-11.el8 ELSA-2022-1991 May 17, 2022
cpio · rocky 8 0:2.12-11.el8 RLSA-2022:1991 May 10, 2022
cpio-debuginfo · amzn 2023 2.13-13.amzn2023.0.2 ALAS2023-2023-021 Feb 17, 2023
cpio-debugsource · amzn 2023 2.13-13.amzn2023.0.2 ALAS2023-2023-021 Feb 17, 2023
cpio-win32 · Ubuntu 18.04.6 LTS (bionic) 2.12+dfsg-6ubuntu0.18.04.4 cpio-win32 2.12+dfsg-6ubuntu0.18.04.4 Aug 7, 2021
cpio-win32 · Ubuntu 20.04 LTS (focal) 2.13+dfsg-2ubuntu0.3 cpio-win32 2.13+dfsg-2ubuntu0.3 Aug 7, 2021
cpio-win32 · Ubuntu 22.04.1 LTS (jammy) 2.13+dfsg-4ubuntu4 cpio-win32 2.13+dfsg-4ubuntu4 Aug 7, 2021

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.