CVSS 3.1
6.3 mediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:NMedium (6.3). EPSS 1.9% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/containerd/containerd 1.3.10, 1.4.4.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:Ngithub.com/containerd/containerd (Go): fixed in 1.4.4, 1.3.10Explain CVE-2021-21334 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-21334?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-21334?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-21334 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 |
|---|---|
| linuxfoundation:containerd | before 1.3.10 |
| linuxfoundation:containerd | from 1.4.0 before 1.4.4 |
| fedoraproject:fedora | 33 |
| fedoraproject:fedora | 34 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-6g2q-w5j3-fwh4 | Go | github.com/containerd/containerd | >=1.4.0 <1.4.4 | 1.4.4 |
| GHSA-6g2q-w5j3-fwh4 | Go | github.com/containerd/containerd | <1.3.10 | 1.3.10 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | containerd | 1.4.4~ds1-1 | DEBIAN-CVE-2021-21334 |
| Ubuntu | 18.04:LTS | containerd | 1.5.2-0ubuntu1~18.04.2 | UBUNTU-CVE-2021-21334 |
| Ubuntu | 20.04:LTS | containerd | 1.3.3-0ubuntu2.3 | UBUNTU-CVE-2021-21334 USN-4881-1 |
| Ubuntu | Pro:16.04:LTS | containerd | no fix listed | UBUNTU-CVE-2021-21334 |
| SUSE | Enterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 14 more | runc | 1.0.0~rc93-1.14.2 | SUSE-SU-2021:1954-1 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 13 more | containerd | 1.4.4-5.32.1 | SUSE-SU-2021:1954-1 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 13 more | docker | 20.10.6_ce-6.49.3 | SUSE-SU-2021:1954-1 |
| SUSE | Linux Enterprise Module for Containers 12 | containerd | 1.4.4-16.38.1 | SUSE-SU-2021:1458-1 |
| SUSE | Linux Enterprise Module for Containers 12 | docker | 20.10.6_ce-98.66.1 | SUSE-SU-2021:1458-1 |
| SUSE | Linux Enterprise Module for Containers 12 | runc | 1.0.0~rc93-16.8.1 | SUSE-SU-2021:1458-1 |
| openSUSE | Leap 15.2 | containerd | 1.4.4-lp152.2.6.1 | openSUSE-SU-2021:0878-1 |
| openSUSE | Leap 15.2 | docker | 20.10.6_ce-lp152.2.12.1 | openSUSE-SU-2021:0878-1 |
| openSUSE | Leap 15.2 | runc | 1.0.0~rc93-lp152.2.3.1 | openSUSE-SU-2021:0878-1 |
| openSUSE | Leap 15.3 | containerd | 1.4.4-5.32.1 | openSUSE-SU-2021:1954-1 |
| openSUSE | Leap 15.3 | docker | 20.10.6_ce-6.49.3 | openSUSE-SU-2021:1954-1 |
| openSUSE | Leap 15.3 | runc | 1.0.0~rc93-1.14.2 | openSUSE-SU-2021:1954-1 |
| openSUSE | Tumbleweed | containerd | 1.4.8-2.2 | openSUSE-SU-2024:10693-1 |
| Alpine | v3.12, v3.13, v3.14 and 10 more | containerd | 1.4.4-r0 | ALPINE-CVE-2021-21334 |
| Alpine | v3.14, v3.15, v3.16 and 8 more | k3s | 1.20.5.1-r0 | ALPINE-CVE-2021-21334 |
| Azure Linux | 3 | cri-o | no fix listed | AZL-44910 |
| Azure Linux | 3 | kata-containers-preview | no fix listed | AZL-81209 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; 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 · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
Whilst in OpenShift Container Platform (OCP) there are containers which contain a vulnerable version containerd, they do not import the code from https://github.com/containerd/containerd/tree/master/pkg/cri and hence are not vulnerable to this flaw.
OpenShift Virtualization vendors in containerd in some containers, however none of them depend on it and do not import the code from https://github.com/containerd/containerd/tree/master/pkg/cri and hence are not vulnerable to this flaw.
Red Hat Advanced Cluster Management for Kubernetes (RHACM) includes containerd for the multicloud operators subscription. However, the CRI plugin is not being used in this component, hence RHACM is not affected by this flaw.
Red Hat Quay's builder, and setup operators do make use of the containerd module, but not the vulnerable cri plugin. Therefore they are not affected.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Advanced Cluster Management for Kubernetes 2 | containerd | Not affected | |
| Red Hat OpenShift Container Platform 4 | cri-o | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift-clients | Not affected | |
| Red Hat Openshift Container Storage 4 | ocs4/cephcsi-rhel8 | Not affected | |
| Red Hat Openshift Container Storage 4 | ocs4/mcg-rhel8-operator | Not affected | |
| Red Hat Openshift Container Storage 4 | ocs4/ocs-must-gather-rhel8 | Not affected | |
| Red Hat Openshift Container Storage 4 | ocs4/ocs-rhel8-operator | Not affected | |
| Red Hat Openshift Container Storage 4 | ocs4/rook-ceph-rhel8-operator | Not affected | |
| Red Hat OpenShift Virtualization 2 | cluster-network-addons-operator-container | Not affected | |
| Red Hat OpenShift Virtualization 2 | cnv-containernetworking-plugins-container | Not affected | |
| Red Hat OpenShift Virtualization 2 | container-native-virtualization/vm-import-controller | Not affected | |
| Red Hat OpenShift Virtualization 2 | container-native-virtualization/vm-import-controller-rhel8 | Not affected | |
| Red Hat OpenShift Virtualization 2 | hostpath-provisioner-container | Not affected | |
| Red Hat OpenShift Virtualization 2 | hostpath-provisioner-operator-container | Not affected | |
| Red Hat OpenShift Virtualization 2 | hyperconverged-cluster-operator-container | Not affected | |
| Red Hat OpenShift Virtualization 2 | hyperconverged-cluster-webhook-container | Not affected | |
| Red Hat OpenShift Virtualization 2 | kubemacpool-container | Not affected | |
| Red Hat OpenShift Virtualization 2 | kubernetes-nmstate-handler-container | Not affected | |
| Red Hat OpenShift Virtualization 2 | node-maintenance-operator | Not affected | |
| 11 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-21334.