CVSS 3.1
7.8 highCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HHigh (7.8) in gnu cpio. EPSS 4.2% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExplain CVE-2021-38185 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-38185?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-38185?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-38185 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| gnu:cpio | through 2.13 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | cpio | 2.12+dfsg-9+deb10u1 | DLA-3445-1 |
| Debian | 12, 13, 14 | cpio | 2.13+dfsg-5 | DEBIAN-CVE-2021-38185 |
| Ubuntu | 18.04:LTS | cpio | 2.12+dfsg-6ubuntu0.18.04.4 | UBUNTU-CVE-2021-38185 USN-5064-1 |
| Ubuntu | 20.04:LTS | cpio | 2.13+dfsg-2ubuntu0.3 | UBUNTU-CVE-2021-38185 USN-5064-1 |
| Ubuntu | 22.04:LTS | cpio | 2.13+dfsg-4ubuntu4 | UBUNTU-CVE-2021-38185 |
| Ubuntu | Pro:14.04:LTS | cpio | 2.11+dfsg-1ubuntu1.2+esm2 | UBUNTU-CVE-2021-38185 USN-5064-3 |
| Ubuntu | Pro:16.04:LTS | cpio | 2.11+dfsg-5ubuntu1.1+esm1 | UBUNTU-CVE-2021-38185 USN-5064-2 |
| Red Hat | enterprise_linux:8::baseos | cpio, cpio-debuginfo, cpio-debugsource | 0:2.12-11.el8 | RHSA-2022:1991 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 13 more | cpio | 2.12-3.9.1 | SUSE-RU-2021:2780-1 |
| SUSE | HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 10 more | cpio | 2.11-36.12.1 | SUSE-RU-2021:2779-1 |
| SUSE | HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 10 more | cpio | 2.11-36.15.1 | SUSE-SU-2021:2808-1 |
| SUSE | HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 10 more | cpio | 2.11-36.9.1 | SUSE-SU-2021:2686-1 |
| SUSE | Linux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSS | cpio | 2.9-75.81.14.1 | SUSE-SU-2021:14788-1 |
| SUSE | Linux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSS | cpio | 2.9-75.81.8.1 | SUSE-SU-2021:14777-1 |
| openSUSE | Tumbleweed | cpio | 2.13-3.3 | openSUSE-SU-2024:10697-1 |
| AlmaLinux | 8 | cpio | 2.12-11.el8 | ALSA-2022:1991 |
| Rocky Linux | 8 | cpio | 0:2.12-11.el8 | RLSA-2022:1991 |
| Alpine | v3.14, v3.15, v3.16 and 8 more | cpio | 2.13-r2 | ALPINE-CVE-2021-38185 |
| Azure Linux | 2 | cpio | 2.13-4 | AZL-6357 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
cpio on Red Hat Enterprise Linux 8 is compiled with full RELRO, which mitigates the exploitation technique demonstrated in the report. Additionally, this requires the use of an unusual set of parameters.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | cpio-0:2.12-11.el8 | Fixed 2022-05-10 | RHSA-2022:1991 |
| Red Hat Enterprise Linux 6 | cpio | Out of support scope | |
| Red Hat Enterprise Linux 7 | cpio | Out of support scope | |
| Red Hat Enterprise Linux 9 | cpio | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-38185.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.