CVSS 3.1
6.5 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HMedium (6.5). EPSS 1.6% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/containers/storage 1.28.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:Hgithub.com/containers/storage (Go): fixed in 1.28.1Explain CVE-2021-20291 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-20291?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-20291?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-20291 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 |
|---|---|
| storage_project:storage | before 1.28.1 |
| redhat:openshift_container_platform | 4.0 |
| redhat:enterprise_linux | 8.0 |
| fedoraproject:fedora | 33 |
| fedoraproject:fedora | 34 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-7qw8-847f-pggm | Go | github.com/containers/storage | <1.28.1 | 1.28.1 |
| GO-2021-0100 | Go | github.com/containers/storage | <1.28.1 | 1.28.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | golang-github-containers-storage | 1.34.1+ds1-1 | DEBIAN-CVE-2021-20291 |
| Ubuntu | 20.04:LTS | golang-github-containers-storage | no fix listed | UBUNTU-CVE-2021-20291 |
| Red Hat | enterprise_linux:8::appstream | buildah, buildah-tests, buildah-debuginfo and 2 more | 0:1.19.9-1.module+el8.5.0+12236+c988d830 | RHBA-2022:0348 |
| Red Hat | enterprise_linux:8::appstream | buildah, buildah-tests, buildah-debuginfo and 2 more | 0:1.22.3-2.module+el8.5.0+12582+56d94c81 | RHSA-2021:4154 |
| Red Hat | enterprise_linux:8::appstream | cockpit-podman | 0:29-2.module+el8.5.0+10306+3f72d66d | RHBA-2022:0348 |
| Red Hat | enterprise_linux:8::appstream | cockpit-podman | 0:33-1.module+el8.5.0+12582+56d94c81 | RHSA-2021:4154 |
| Red Hat | enterprise_linux:8::appstream | conmon, conmon-debuginfo, conmon-debugsource | 2:2.0.26-1.module+el8.5.0+10306+3f72d66d | RHBA-2022:0348 |
| Red Hat | enterprise_linux:8::appstream | conmon, conmon-debuginfo, conmon-debugsource | 2:2.0.29-1.module+el8.5.0+12582+56d94c81 | RHSA-2021:4154 |
| Red Hat | enterprise_linux:8::appstream | container-selinux | 2:2.167.0-1.module+el8.5.0+12582+56d94c81 | RHSA-2021:4154 |
| Red Hat | enterprise_linux:8::appstream | container-selinux | 2:2.167.0-1.module+el8.5.0+12609+beaa716d | RHBA-2022:0348 |
| Red Hat | enterprise_linux:8::appstream | containernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource | 0:0.9.1-1.module+el8.5.0+10306+3f72d66d | RHBA-2022:0348 |
| Red Hat | enterprise_linux:8::appstream | containernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource | 0:1.0.0-1.module+el8.5.0+12582+56d94c81 | RHSA-2021:4154 |
| Red Hat | enterprise_linux:8::appstream | containers-common | 2:1-2.module+el8.5.0+12582+56d94c81 | RHSA-2021:4154 |
| Red Hat | enterprise_linux:8::appstream | crit, criu, criu-libs and 5 more | 0:3.15-3.module+el8.5.0+12582+56d94c81 | RHSA-2021:4154 |
| 90 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 12 more | libcontainers-common | 20210626-150100.3.15.1 | SUSE-SU-2022:3312-1 |
| SUSE | Linux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3 | libcontainers-common | 20210626-150300.8.3.1 | SUSE-SU-2022:23018-1 |
| SUSE | Linux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3 | libseccomp | 2.5.3-150300.10.5.1 | SUSE-SU-2022:23018-1 |
| SUSE | Linux Enterprise Micro 5.1, Linux Enterprise Module for Containers 15 SP3 | conmon | 2.0.30-150300.8.3.1 | SUSE-SU-2022:23018-1 |
| SUSE | Linux Enterprise Micro 5.1, Linux Enterprise Module for Containers 15 SP3 | podman | 3.4.4-150300.9.3.2 | SUSE-SU-2022:23018-1 |
| openSUSE | Leap 15.3 | conmon | 2.0.30-150300.8.3.1 | openSUSE-SU-2022:23018-1 |
| openSUSE | Leap 15.3 | libcontainers-common | 20210626-150300.8.3.1 | openSUSE-SU-2022:23018-1 |
| openSUSE | Leap 15.3 | libseccomp | 2.5.3-150300.10.5.1 | openSUSE-SU-2022:23018-1 |
| openSUSE | Leap 15.3 | podman | 3.4.4-150300.9.3.2 | openSUSE-SU-2022:23018-1 |
| openSUSE | Tumbleweed | libcontainers-common | 20210626-7.1 | openSUSE-SU-2024:11757-1 |
| AlmaLinux | 8 | buildah, buildah-tests | 1.19.9-1.module_el8.5.0+2614+87221ce8 | ALBA-2022:0348 |
| AlmaLinux | 8 | cockpit-podman | 29-2.module_el8.5.0+2614+87221ce8 | ALBA-2022:0348 |
| AlmaLinux | 8 | cockpit-podman | 29-2.module_el8.6.0+2876+9ed4eae2 | ALBA-2022:0348 |
| AlmaLinux | 8 | conmon | 2:2.0.26-1.module_el8.5.0+2614+87221ce8 | ALBA-2022:0348 |
| AlmaLinux | 8 | conmon | 2:2.0.26-1.module_el8.6.0+2876+9ed4eae2 | ALBA-2022:0348 |
| AlmaLinux | 8 | container-selinux | 2:2.167.0-1.module_el8.5.0+2614+87221ce8 | ALBA-2022:0348 |
| AlmaLinux | 8 | containernetworking-plugins | 0.9.1-1.module_el8.5.0+2614+87221ce8 | ALBA-2022:0348 |
| AlmaLinux | 8 | containernetworking-plugins | 0.9.1-1.module_el8.6.0+2876+9ed4eae2 | ALBA-2022:0348 |
| AlmaLinux | 8 | crit, criu, criu-libs and 2 more | 3.15-3.module_el8.5.0+2613+1b78b731 | ALSA-2021:4154 |
| AlmaLinux | 8 | crit, criu, criu-libs and 2 more | 3.15-3.module_el8.6.0+2751+06427ca3 | ALSA-2021:4154 |
| AlmaLinux | 8 | crit, criu, criu-libs and 2 more | 3.15-3.module_el8.6.0+2877+8e437bf5 | ALSA-2021:4154 |
| AlmaLinux | 8 | crit, criu, python3-criu | 3.15-1.module_el8.5.0+2614+87221ce8 | ALBA-2022:0348 |
| 28 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | buildah | 0:1.22.3-2.module+el8.5.0+710+4c471e88 | RLSA-2021:4154 |
| Rocky Linux | 8 | cockpit-podman | 0:33-1.module+el8.5.0+710+4c471e88 | RLSA-2021:4154 |
| Rocky Linux | 8 | conmon | 2:2.0.29-1.module+el8.4.0+643+525e162a | RLSA-2021:4154 |
| Rocky Linux | 8 | conmon | 2:2.0.29-1.module+el8.5.0+710+4c471e88 | RLSA-2021:4154 |
| Rocky Linux | 8 | container-selinux | 2:2.167.0-1.module+el8.4.0+653+ad26b47d | RLSA-2021:4154 |
| Rocky Linux | 8 | container-selinux | 2:2.167.0-1.module+el8.5.0+709+440d5e7e | RLSA-2021:4154 |
| Rocky Linux | 8 | containernetworking-plugins | 0:1.0.0-1.module+el8.5.0+710+4c471e88 | RLSA-2021:4154 |
| Rocky Linux | 8 | containers-common | 2:1-2.module+el8.5.0+710+4c471e88 | RLSA-2021:4154 |
| Rocky Linux | 8 | criu | 0:3.15-3.module+el8.5.0+710+4c471e88 | RLSA-2021:4154 |
| Rocky Linux | 8 | criu | 0:3.15-3.module+el8.6.0+1054+50b00ff4 | RLSA-2021:4154 |
| Rocky Linux | 8 | criu | 0:3.15-3.module+el8.7.0+1077+0e4f03d4 | RLSA-2021:4154 |
| Rocky Linux | 8 | crun | 0:1.0-1.module+el8.5.0+710+4c471e88 | RLSA-2021:4154 |
| 17 more for Rocky Linux in the JSON. | ||||
| Azure Linux | 3 | buildah | 1.41.4-2 | AZL-44580 |
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; 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.
Red Hat rates this Moderate.
The vulnerability was first exposed in v1.23.8 of containers/storage (and subsequently fixed in v1.28.1) with this git commit [1].
* In OpenShift Container Platform (OCP) only 4.7 contains a version of CRI-O (and openshift/ose-docker-builder) which uses a vulnerable version of containers/storage. Subsequently this has been addressed in OCP 4.7.7.
* Red Hat Quay quay-builder-container is not affected because it uses a version of github.com/containers/storage earlier than v1.23.8
* Red Hat Openshift Virtualization is not affected because all containers depending on github.com/containers/storage use a version earlier than v1.23.8
* For Red Hat OpenStack Platform, because containers/storage is not directly used by the director-operator, no update will be provided at this time for the operator containers.
[1] - https://github.com/containers/storage/blob/e9989a949a0d2c32fa82d3ff1076e33cfec58cb9/layers.go#L1332
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | container-tools:3.0-8050020220104131412.e34216c9 | Fixed 2022-02-01 | RHBA-2022:0348 |
| Red Hat Enterprise Linux 8 | container-tools:rhel8-8050020210921082437.faa19cc5 | Fixed 2021-11-09 | RHSA-2021:4154 |
| Red Hat Enterprise Linux 9 | podman-2:4.2.0-3.el9 | Fixed 2022-11-15 | RHSA-2022:7954 |
| Red Hat Enterprise Linux 9 | skopeo-2:1.9.2-1.el9 | Fixed 2022-11-15 | RHSA-2022:7955 |
| Red Hat Enterprise Linux 9 | buildah-1:1.27.0-2.el9 | Fixed 2022-11-15 | RHSA-2022:8008 |
| Red Hat OpenShift Container Platform 4.7 | cri-o-0:1.20.2-6.rhaos4.7.gitf1d5201.el7 | Fixed 2021-04-20 | RHSA-2021:1150 |
| Red Hat OpenShift Container Platform 4.7 | openshift-0:4.7.0-202104090228.p0.git.97111.77863f8.el7 | Fixed 2021-04-20 | RHSA-2021:1150 |
| Red Hat OpenShift Container Platform 4.8 | atomic-openshift-service-idler-0:4.8.0-202106281541.p0.git.39cfc66.assembly.stream.el8 | Fixed 2021-07-27 | RHSA-2021:2437 |
| Red Hat OpenShift Container Platform 4.8 | butane-0:0.12.1-1.rhaos4.8.el8 | Fixed 2021-07-27 | RHSA-2021:2437 |
| Red Hat OpenShift Container Platform 4.8 | console-login-helper-messages-0:0.20.3-1.rhaos4.8.el8 | Fixed 2021-07-27 | RHSA-2021:2437 |
| Red Hat Cluster Application Migration | openshift-migration-plugin-container | Not affected | |
| Red Hat Enterprise Linux 7 | buildah | Out of support scope | |
| Red Hat Enterprise Linux 7 | podman | Out of support scope | |
| Red Hat Enterprise Linux 7 | skopeo | Out of support scope | |
| Red Hat Enterprise Linux 8 | container-tools:1.0/buildah | Not affected | |
| Red Hat Enterprise Linux 8 | container-tools:1.0/podman | Not affected | |
| Red Hat Enterprise Linux 8 | container-tools:1.0/skopeo | Not affected | |
| Red Hat Enterprise Linux 8 | container-tools:2.0/buildah | Not affected | |
| Red Hat Enterprise Linux 8 | container-tools:2.0/podman | Not affected | |
| Red Hat Enterprise Linux 8 | container-tools:2.0/skopeo | Not affected | |
| 69 more in the JSON and on Red Hat's page. | |||
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-20291.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.