CVE-2021-21334environment variable leak
- 6.3MediumCVSS base score
- 1.9%Exploitation in 30 daysEPSS · top 19% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 3 months later
· 3 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium6.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N |
| NVDNVD · Modified | 3.1 | Medium6.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 1.9% · top 19% of all CVEs (18 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.3.
Affected products
- affected < 1.3.10
- affected >= 1.4.0, < 1.4.4
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/containerd/containerdGHSA-6g2q-w5j3-fwh4 (opens in a new tab)
References
References8
- https://github.com/containerd/containerd/security/advisories/GHSA-6g2q-w5j3-fwh4 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/containerd/containerd/releases/tag/v1.4.4 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/containerd/containerd/releases/tag/v1.3.10 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/containerd/containerd/commit/05f951a3781f4f2c1911b05e61c160e9c30eaa8e (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2021-470fa24f5b (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2021-10ce8fcbf1 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2021-f049305892 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- GLSA-202105-33 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-0272 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-6g2q-w5j3-fwh4 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-21334)Record last updated .