CVE-2021-21334
published medium CVSS 3.1 · 6.3environment variable leak
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| containerd | — | containerd< 1.3.10 · >= 1.4.0, < 1.4.4 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2021-011 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2023-014 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2021-011 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | containerd | Fixed | 1.4.4-r0 | Package fix record |
| SUSE / openSUSE | SLE-12 | containerdppc64le | Advisory build | 1.4.4-16.38.1 | SUSE-SU-2021:1458-1 |
| Ubuntu | focal | containerd | Advisory build | 1.3.3-0ubuntu2.3 | USN-4881-1 |
| Alpine Linux | v3.12 | containerd | Fixed | 1.4.4-r0 | Package fix record |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.13 | containerd | Fixed | 1.4.4-r0 | Package fix record |
| Alpine Linux | v3.14 | containerd | Fixed | 1.4.4-r0 | Package fix record |
| Alpine Linux | v3.15 | containerd | Fixed | 1.4.4-r0 | Package fix record |
| Alpine Linux | v3.16 | containerd | Fixed | 1.4.4-r0 | Package fix record |
| Alpine Linux | v3.17 | containerd | Fixed | 1.4.4-r0 | Package fix record |
| Alpine Linux | v3.18 | containerd | Fixed | 1.4.4-r0 | Package fix record |
| Alpine Linux | v3.19 | containerd | Fixed | 1.4.4-r0 | Package fix record |
| Alpine Linux | v3.20 | containerd | Fixed | 1.4.4-r0 | Package fix record |
| Alpine Linux | v3.21 | containerd | Fixed | 1.4.4-r0 | Package fix record |
| Alpine Linux | v3.22 | containerd | Fixed | 1.4.4-r0 | Package fix record |
| Alpine Linux | v3.23 | containerd | Fixed | 1.4.4-r0 | Package fix record |
| Alpine Linux | v3.24 | containerd | Fixed | 1.4.4-r0 | Package fix record |
| SUSE / openSUSE | SLE-12 | containerds390x | Advisory build | 1.4.4-16.38.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12 | containerdx86_64 | Advisory build | 1.4.4-16.38.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP3 | containerdppc64le | Advisory build | 1.4.4-16.38.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP3 | containerds390x | Advisory build | 1.4.4-16.38.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP3 | containerdx86_64 | Advisory build | 1.4.4-16.38.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP4 | containerdppc64le | Advisory build | 1.4.4-16.38.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP4 | containerds390x | Advisory build | 1.4.4-16.38.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP4 | containerdx86_64 | Advisory build | 1.4.4-16.38.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerdppc64le | Advisory build | 1.4.4-16.38.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerds390x | Advisory build | 1.4.4-16.38.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerdx86_64 | Advisory build | 1.4.4-16.38.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-15 | containerdppc64le | Advisory build | 1.4.4-5.32.1 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15 | containerds390x | Advisory build | 1.4.4-5.32.1 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15 | containerdx86_64 | Advisory build | 1.4.4-5.32.1 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15-SP1 | containerdaarch64 | Advisory build | 1.4.4-5.32.1 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15-SP1 | containerdppc64le | Advisory build | 1.4.4-5.32.1 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15-SP1 | containerds390x | Advisory build | 1.4.4-5.32.1 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15-SP1 | containerdx86_64 | Advisory build | 1.4.4-5.32.1 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15-SP2 | containerdaarch64 | Advisory build | 1.4.4-5.32.1 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15-SP2 | containerdppc64le | Advisory build | 1.4.4-5.32.1 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15-SP2 | containerds390x | Advisory build | 1.4.4-5.32.1 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15-SP2 | containerdx86_64 | Advisory build | 1.4.4-5.32.1 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15-SP3 | containerdaarch64 | Advisory build | 1.4.4-5.32.1 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15-SP3 | containerdppc64le | Advisory build | 1.4.4-5.32.1 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15-SP3 | containerds390x | Advisory build | 1.4.4-5.32.1 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15-SP3 | containerdx86_64 | Advisory build | 1.4.4-5.32.1 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-5 | containerdaarch64 | Advisory build | 1.4.4-5.32.1 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-5 | containerdx86_64 | Advisory build | 1.4.4-5.32.1 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | containerdx86_64 | Advisory build | 1.4.4-lp152.2.6.1 | OPENSUSE-SU-2021:0878-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | containerdaarch64 | Advisory build | 1.4.4-5.32.1 | OPENSUSE-SU-2021:1954-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | containerdppc64le | Advisory build | 1.4.4-5.32.1 | OPENSUSE-SU-2021:1954-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | containerds390x | Advisory build | 1.4.4-5.32.1 | OPENSUSE-SU-2021:1954-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | containerdx86_64 | Advisory build | 1.4.4-5.32.1 | OPENSUSE-SU-2021:1954-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerdaarch64 | Advisory build | 1.4.8-2.2 | OPENSUSE-SU-2024:10693-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerdppc64le | Advisory build | 1.4.8-2.2 | OPENSUSE-SU-2024:10693-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerds390x | Advisory build | 1.4.8-2.2 | OPENSUSE-SU-2024:10693-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerdx86_64 | Advisory build | 1.4.8-2.2 | OPENSUSE-SU-2024:10693-1 |
| Alpine Linux | edge | k3s | Fixed | 1.20.5.1-r0 | Package fix record |
| Alpine Linux | v3.14 | k3s | Fixed | 1.20.5.1-r0 | Package fix record |
| Alpine Linux | v3.15 | k3s | Fixed | 1.20.5.1-r0 | Package fix record |
| Alpine Linux | v3.16 | k3s | Fixed | 1.20.5.1-r0 | Package fix record |
| Alpine Linux | v3.17 | k3s | Fixed | 1.20.5.1-r0 | Package fix record |
| Alpine Linux | v3.18 | k3s | Fixed | 1.20.5.1-r0 | Package fix record |
| Alpine Linux | v3.19 | k3s | Fixed | 1.20.5.1-r0 | Package fix record |
| Alpine Linux | v3.20 | k3s | Fixed | 1.20.5.1-r0 | Package fix record |
| Alpine Linux | v3.21 | k3s | Fixed | 1.20.5.1-r0 | Package fix record |
| Alpine Linux | v3.22 | k3s | Fixed | 1.20.5.1-r0 | Package fix record |
| Alpine Linux | v3.23 | k3s | Fixed | 1.20.5.1-r0 | Package fix record |
| Alpine Linux | v3.24 | k3s | Fixed | 1.20.5.1-r0 | Package fix record |
| SUSE / openSUSE | SLE-12 | dockerppc64le | Advisory build | 20.10.6_ce-98.66.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12 | dockers390x | Advisory build | 20.10.6_ce-98.66.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12 | dockerx86_64 | Advisory build | 20.10.6_ce-98.66.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12 | runcppc64le | Advisory build | 1.0.0~rc93-16.8.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12 | runcs390x | Advisory build | 1.0.0~rc93-16.8.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12 | runcx86_64 | Advisory build | 1.0.0~rc93-16.8.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP3 | dockerppc64le | Advisory build | 20.10.6_ce-98.66.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP3 | dockers390x | Advisory build | 20.10.6_ce-98.66.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP3 | dockerx86_64 | Advisory build | 20.10.6_ce-98.66.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP3 | runcppc64le | Advisory build | 1.0.0~rc93-16.8.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP3 | runcs390x | Advisory build | 1.0.0~rc93-16.8.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP3 | runcx86_64 | Advisory build | 1.0.0~rc93-16.8.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP4 | dockerppc64le | Advisory build | 20.10.6_ce-98.66.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP4 | dockers390x | Advisory build | 20.10.6_ce-98.66.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP4 | dockerx86_64 | Advisory build | 20.10.6_ce-98.66.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP4 | runcppc64le | Advisory build | 1.0.0~rc93-16.8.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP4 | runcs390x | Advisory build | 1.0.0~rc93-16.8.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP4 | runcx86_64 | Advisory build | 1.0.0~rc93-16.8.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP5 | dockerppc64le | Advisory build | 20.10.6_ce-98.66.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP5 | dockers390x | Advisory build | 20.10.6_ce-98.66.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP5 | dockerx86_64 | Advisory build | 20.10.6_ce-98.66.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP5 | runcppc64le | Advisory build | 1.0.0~rc93-16.8.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP5 | runcs390x | Advisory build | 1.0.0~rc93-16.8.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-12-SP5 | runcx86_64 | Advisory build | 1.0.0~rc93-16.8.1 | SUSE-SU-2021:1458-1 |
| SUSE / openSUSE | SLE-15 | dockerppc64le | Advisory build | 20.10.6_ce-6.49.3 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15 | dockers390x | Advisory build | 20.10.6_ce-6.49.3 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15 | dockerx86_64 | Advisory build | 20.10.6_ce-6.49.3 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15 | docker-bash-completionnoarch | Advisory build | 20.10.6_ce-6.49.3 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15 | runcppc64le | Advisory build | 1.0.0~rc93-1.14.2 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15 | runcs390x | Advisory build | 1.0.0~rc93-1.14.2 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15 | runcx86_64 | Advisory build | 1.0.0~rc93-1.14.2 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15-SP1 | dockeraarch64 | Advisory build | 20.10.6_ce-6.49.3 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15-SP1 | dockerppc64le | Advisory build | 20.10.6_ce-6.49.3 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15-SP1 | dockers390x | Advisory build | 20.10.6_ce-6.49.3 | SUSE-SU-2021:1954-1 |
| SUSE / openSUSE | SLE-15-SP1 | dockerx86_64 | Advisory build | 20.10.6_ce-6.49.3 | SUSE-SU-2021:1954-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| containerd | containerd | < 1.3.10 (affected)>= 1.4.0, < 1.4.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-668 {"CWE-668":"Exposure of Resource to Wrong Sphere"}
References
8- https://github.com/containerd/containerd/commit/05f951a3781f4f2c1911b05e61c160e9c30eaa8e
- https://github.com/containerd/containerd/releases/tag/v1.3.10
- https://github.com/containerd/containerd/releases/tag/v1.4.4
- https://github.com/containerd/containerd/security/advisories/GHSA-6g2q-w5j3-fwh4
- FEDORA-2021-470fa24f5b https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUE2Z2ZUWBHRU36ZGBD2YSJCYB6ELPXE/
- FEDORA-2021-10ce8fcbf1 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QIBPKSX5IOWPM3ZPFB3JVLXWDHSZTTWT/
- FEDORA-2021-f049305892 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VTXHA5JOWQRCCUZH7ZQBEYN6KZKJEYSD/
- GLSA-202105-33 https://security.gentoo.org/glsa/202105-33
Provider assertions
2GitHub_M · cna
environment variable leak
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8f651ada454711cf6992a9fd300b2020547df92ca4096f9f43b771cde1809187
- Ingested
- 23 Sep 2026, 07:52:31 UTC
- Source record
- Official CVE record