CVE catalog

CVE-2021-21334

containerd: CVE-2021-21334

[CVE catalog]

Severity
Medium · CVSS 6.3CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
1.95% · Oct 25, 2026

In 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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancontainerdsid2.1.9+ds1-5fixed
Debiancontainerdforky2.1.9+ds1-5fixed
Debiancontainerdtrixie1.7.24~ds1-6+deb13u1fixed
Debiancontainerdtrixie-security1.7.24~ds1-6+deb13u1fixed
Debiancontainerdbookworm1.6.20~ds1-1+deb12u3fixed
Debiancontainerdbookworm-security1.6.20~ds1-1+deb12u2fixed
Ubuntucontainerdpro0.2.1-0ubuntu4~16.04vulnerable
Ubuntucontainerdpro0.2.3-0ubuntu1~16.04vulnerable
Ubuntucontainerdpro0.2.5-0ubuntu1~16.04.1vulnerable
Ubuntucontainerdpro1.2.6-0ubuntu1~16.04.2vulnerable
Ubuntucontainerdpro1.2.6-0ubuntu1~16.04.3vulnerable
Ubuntucontainerdpro1.2.6-0ubuntu1~16.04.4vulnerable
Ubuntucontainerdpro1.2.6-0ubuntu1~16.04.5vulnerable
Ubuntucontainerdpro1.2.6-0ubuntu1~16.04.6vulnerable
Ubuntucontainerdpro1.2.6-0ubuntu1~16.04.6+esm1vulnerable
Ubuntucontainerdpro1.2.6-0ubuntu1~16.04.6+esm2vulnerable
Ubuntucontainerdpro1.2.6-0ubuntu1~16.04.6+esm4vulnerable
Ubuntucontainerdpro1.2.6-0ubuntu1~16.04.6+esm5vulnerable
Ubuntucontainerdpro1.2.6-0ubuntu1~16.04.6+esm6vulnerable
Ubuntucontainerdpro1.2.6-0ubuntu1~16.04.6+esm7vulnerable
Ubuntucontainerd18.040.2.5-0ubuntu2vulnerable
Ubuntucontainerd18.041.2.6-0ubuntu1~18.04.1vulnerable
Ubuntucontainerd18.041.2.6-0ubuntu1~18.04.2vulnerable
Ubuntucontainerd18.041.3.3-0ubuntu1~18.04.1vulnerable
Ubuntucontainerd18.041.3.3-0ubuntu1~18.04.2vulnerable
Ubuntucontainerd18.041.3.3-0ubuntu1~18.04.3vulnerable
Ubuntucontainerd18.041.3.3-0ubuntu1~18.04.4vulnerable
Ubuntucontainerd18.041.4.4-0ubuntu1~18.04.2vulnerable
Ubuntucontainerd18.041.5.2-0ubuntu1~18.04.1vulnerable
Ubuntucontainerd18.041.5.2-0ubuntu1~18.04.2fixed
Ubuntucontainerd20.041.2.10-0ubuntu1vulnerable
Ubuntucontainerd20.041.3.2-0ubuntu1vulnerable
Ubuntucontainerd20.041.3.3-0ubuntu1vulnerable
Ubuntucontainerd20.041.3.3-0ubuntu2vulnerable
Ubuntucontainerd20.041.3.3-0ubuntu2.1vulnerable
Ubuntucontainerd20.041.3.3-0ubuntu2.2vulnerable
Ubuntucontainerd20.041.3.3-0ubuntu2.3fixed
Ubuntucontainerd20.041.2.10-0ubuntu1vulnerable
Ubuntucontainerd20.041.3.2-0ubuntu1vulnerable
Ubuntucontainerd20.041.3.3-0ubuntu1vulnerable
Ubuntucontainerd20.041.3.3-0ubuntu2vulnerable
Ubuntucontainerd20.041.3.3-0ubuntu2.1vulnerable
Ubuntucontainerd20.041.3.3-0ubuntu2.2vulnerable
Ubuntucontainerd20.041.3.3-0ubuntu2.3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancontainerdsourcesid1.4.4~ds1-1not yet assignedNot reportedNot reported
Debiancontainerdsourceforky1.4.4~ds1-1not yet assignedNot reportedNot reported
Debiancontainerdsourcetrixie1.4.4~ds1-1not yet assignedNot reportedNot reported
Debiancontainerdsourcebookworm1.4.4~ds1-1not yet assignedNot reportedNot reported
Ubuntucontainerddeb18.041.5.2-0ubuntu1~18.04.2Not reportedUBUNTU-CVE-2021-21334Not reported
Ubuntucontainerddeb20.041.3.3-0ubuntu2.3Not reportedUBUNTU-CVE-2021-21334Not reported
Ubuntucontainerddeb20.041.3.3-0ubuntu2.3Not reportedUSN-4881-1Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [containerd]Unknown
    Details (4)
    • 1.6.20~ds1-1+deb12u3 · amd64 · bookworm

      Fixed · Fixed: 1.4.4~ds1-1

      dsa · containerd · debian · bookworm; dsa · containerd · debian · 12

    • 1.6.20~ds1-1+deb12u3 · arm64 · bookworm

      Fixed · Fixed: 1.4.4~ds1-1

      dsa · containerd · debian · bookworm; dsa · containerd · debian · 12

    • 1.6.20~ds1-1+deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 1.4.4~ds1-1

      dsa · containerd · debian · bookworm; dsa · containerd · debian · 12

    • 1.6.20~ds1-1+deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 1.4.4~ds1-1

      dsa · containerd · debian · bookworm; dsa · containerd · debian · 12

  • Source package: [containerd]

    Details (4)
    • 1.6.20~ds1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 1.4.4~ds1-1

      dsa · containerd · debian · bookworm; dsa · containerd · debian · 12

    • 1.6.20~ds1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 1.4.4~ds1-1

      dsa · containerd · debian · bookworm; dsa · containerd · debian · 12

    • 1.6.20~ds1-1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1.4.4~ds1-1

      dsa · containerd · debian · bookworm; dsa · containerd · debian · 12

    • 1.6.20~ds1-1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1.4.4~ds1-1

      dsa · containerd · debian · bookworm; dsa · containerd · debian · 12

[Debian 13 (Trixie)]

  • [containerd]Unknown
    Details (4)
    • 1.7.24~ds1-6+deb13u1 · amd64 · trixie

      Fixed · Fixed: 1.4.4~ds1-1

      dsa · containerd · debian · 13

    • 1.7.24~ds1-6+deb13u1 · arm64 · trixie

      Fixed · Fixed: 1.4.4~ds1-1

      dsa · containerd · debian · 13

    • 1.7.24~ds1-6+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 1.4.4~ds1-1

      dsa · containerd · debian · 13

    • 1.7.24~ds1-6+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 1.4.4~ds1-1

      dsa · containerd · debian · 13

  • Source package: [containerd]

    Details (4)
    • 1.7.24~ds1-6+deb13u1 · all · trixie

      Fixed · Fixed: 1.4.4~ds1-1

      dsa · containerd · debian · 13

    • 1.7.24~ds1-6+deb13u1 · all · trixie

      Fixed · Fixed: 1.4.4~ds1-1

      dsa · containerd · debian · 13

    • 1.7.24~ds1-6+deb13u1 · all · trixie-security

      Fixed · Fixed: 1.4.4~ds1-1

      dsa · containerd · debian · 13

    • 1.7.24~ds1-6+deb13u1 · all · trixie-security

      Fixed · Fixed: 1.4.4~ds1-1

      dsa · containerd · debian · 13

Observed:

References