CVE-2021-21334Linuxfoundation Containerd
Medium 6.3
Follow: this CVE · Linuxfoundation · Linuxfoundation Containerd We alert you by email or Slack (account required).
- Priority
- 38
- CVSS 3.1
- 6.3
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 81
- Auth required
- Yes
- Published
- Mar 10, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-668
- Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Containerd.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/containerd/containerd |
≥ 1.4.0 < 1.4.4 |
1.4.4 |
go get github.com/containerd/containerd@v1.4.4 |
| Go | github.com/containerd/containerd |
< 1.3.10 |
1.3.10 |
go get github.com/containerd/containerd@v1.3.10 |
Per OSV / GitHub Advisories (GHSA-6g2q-w5j3-fwh4). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | containerd | < 1.3.10 |
| linuxfoundation | containerd | ≥ 1.4.0 < 1.4.4 |
| fedoraproject | fedora | 33 |
| fedoraproject | fedora | 34 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org Third Party Advisory