VDB

CVE-2021-21334

CVE-2021-21334 PUBLISHED CVSS 6.3 MEDIUM

environment variable leak

Reported by github_m · Published March 10, 2021

github.com/containerd/containerd is fixed in v1.3.10, 1.4.4 and 1.3.10 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/containerd/containerdGo Modulesv1.3.10, 1.4.4, 1.3.10
ctopChainguard0.7.7-r13
k3sAlpine1.20.5.1-r0
ctopWolfi0.7.7-r13
containerdArch Linux1.4.4-1
containerdUbuntu:18.04:LTS1.5.2-0ubuntu1~18.04.2
containerdlinuxfoundation1.4.4, 1.3.10

Risk scores

CVSS 3.1
6.3
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N

Affected products

VendorProductVersions
containerdcontainerd< 1.3.10, >= 1.4.0, < 1.4.4
chainguardctop0
alpinek3s0
wolfictop0
archcontainerd0
containerdcontainerd0, 1.4.0
github.comcontainerd/containerd0, 1.4.0
alpinecontainerd0

Timeline

  • Mar 5, 2021 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Jan 30, 2026 CVE Updated
  • Mar 7, 2026 Distribution Patch (4 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (8 in total, the first dated here)
  • Aug 26, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-21334
vulnetix vdb fixes CVE-2021-21334

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-21334/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›