CVE-2021-21334

Summary

CVECVE-2021-21334
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-03-10 22:15:00 UTC
Updated2023-11-07 03:29:00 UTC
DescriptionIn containerd (an industry-standard container runtime) before versions 1.3.10 and 1.4.4, containers launched through containerd's CRI implementation (through Kubernetes, crictl, or any other pod/container client that uses the containerd CRI service) that share the same image may receive incorrect environment variables, including values that are defined for other containers. If the affected containers have different security contexts, this may allow sensitive information to be unintentionally shared. If you are not using containerd's CRI implementation (through one of the mechanisms described above), you are not vulnerable to this issue. If you are not launching multiple containers or Kubernetes pods from the same image which have different environment variables, you are not vulnerable to this issue. If you are not launching multiple containers or Kubernetes pods from the same image in rapid succession, you have reduced likelihood of being vulnerable to this issue This vulnerability has been fixed in containerd 1.3.10 and containerd 1.4.4. Users should update to these versions.

Risk And Classification

Problem Types: CWE-668

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 33 All All All
Operating System Fedoraproject Fedora 34 All All All
Application Linuxfoundation Containerd All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 33 Update: golang-github-containerd-cri-1.19.0-3.20210307gitaa2d5a9.fc33 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Merge pull request from GHSA-6g2q-w5j3-fwh4 · containerd/containerd@05f951a · GitHub MISC github.com Patch, Third Party Advisory
Release containerd 1.3.10 · containerd/containerd · GitHub MISC github.com Release Notes, Third Party Advisory
[SECURITY] Fedora 34 Update: golang-github-containerd-cri-1.19.0-3.20210307gitaa2d5a9.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 33 Update: containerd-1.4.4-1.fc33 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Mailing List, Third Party Advisory
containerd CRI plugin: environment variables can leak between containers · Advisory · containerd/containerd · GitHub CONFIRM github.com Third Party Advisory
Release containerd 1.4.4 · containerd/containerd · GitHub MISC github.com Release Notes, Third Party Advisory
[SECURITY] Fedora 33 Update: containerd-1.4.4-1.fc33 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
containerd: Multiple vulnerabilities (GLSA 202105-33) — Gentoo security GENTOO security.gentoo.org
[SECURITY] Fedora 34 Update: golang-github-containerd-cri-1.19.0-3.20210307gitaa2d5a9.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 33 Update: golang-github-containerd-cri-1.19.0-3.20210307gitaa2d5a9.fc33 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Mailing List, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 174971 SUSE Enterprise Linux Security Update for containerd, docker, runc (SUSE-SU-2021:1458-1)
  • 179796 Debian Security Update for containerd (CVE-2021-21334)
  • 198300 Ubuntu Security Notification for Containerd Vulnerability (USN-4881-1)
  • 281523 Fedora Security Update for containerd (FEDORA-2021-470fa24f5b)
  • 281524 Fedora Security Update for golang (FEDORA-2021-f049305892)
  • 281525 Fedora Security Update for golang (FEDORA-2021-10ce8fcbf1)
  • 353048 Amazon Linux Security Advisory for containerd : ALAS2NITRO-ENCLAVES-2021-011
  • 353061 Amazon Linux Security Advisory for containerd : ALAS2DOCKER-2021-011
  • 356560 Amazon Linux Security Advisory for containerd : ALAS2ECS-2023-014
  • 500859 Alpine Linux Security Update for containerd
  • 501871 Alpine Linux Security Update for k3s
  • 504641 Alpine Linux Security Update for containerd
  • 6140347 AWS Bottlerocket Security Update for containerd (GHSA-jcqh-gjq8-fxgq)
  • 710081 Gentoo Linux containerd Multiple vulnerabilities (GLSA 202105-33)
  • 750155 SUSE Enterprise Linux Security Update for containerd, docker, runc (SUSE-SU-2021:1954-1)
  • 750648 OpenSUSE Security Update for containerd, docker, runc (openSUSE-SU-2021:0878-1)
  • 750812 OpenSUSE Security Update for containerd, docker, runc (openSUSE-SU-2021:1954-1)
  • 900210 CBL-Mariner Linux Security Update for zstd 1.4.4
  • 900211 CBL-Mariner Linux Security Update for moby-containerd 1.4.4
  • 903258 Common Base Linux Mariner (CBL-Mariner) Security Update for moby-containerd (4430)
  • 997017 GO (Go) Security Update for github.com/containerd/containerd (GHSA-6g2q-w5j3-fwh4)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report