CVE-2021-21334Medium· 6.3▾ Sunlitcontainerd environment variable leak
▾ Sunlit zone — Low / medium · no exploitation signal
impact 34.7 · likelihood 0.4 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 9.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
2.0%
Last analysed / modified upstream
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 as soon as they are released.
There are no known workarounds.
If you have any questions or comments about this advisory:
github.com/containerd/containerd >= 1.4.0, < 1.4.4github.com/containerd/containerd < 1.3.10Upgrade to a patched release:
github.com/containerd/containerd 1.4.4github.com/containerd/containerd 1.3.10Connected by shared product, vendor, weakness, or advisory.
CVE-2020-15257Medium· 5.2containerd-shim API Exposed to Host Network Containers
GHSA-7ww5-4wqc-m92cMediumcontainerd allows RAPL to be accessible to a container
CVE-2020-15157Medium· 6.1containerd v1.2.x can be coerced into leaking credentials during image pull
GHSA-5j5w-g665-5m35Low· 3.0Ambiguous OCI manifest parsing
CVE-2022-31030Medium· 5.5containerd CRI plugin: Host memory exhaustion through ExecSync
CVE-2022-23471Medium· 5.7containerd CRI stream server vulnerable to host memory exhaustion via terminal