CVE-2022-23471Medium· 5.7▾ Sunlitcontainerd CRI stream server vulnerable to host memory exhaustion via terminal
▾ Sunlit zone — Low / medium · no exploitation signal
impact 31.4 · likelihood 0.2 · 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 Sep 12.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
1.0%
1.0% → 1.1%
A bug was found in containerd's CRI implementation where a user can exhaust memory on the host. In the CRI stream server, a goroutine is launched to handle terminal resize events if a TTY is requested. If the user's process fails to launch due to, for example, a faulty command, the goroutine will be stuck waiting to send without a receiver, resulting in a memory leak. Kubernetes and crictl can both be configured to use containerd's CRI implementation and the stream server is used for handling container IO.
This bug has been fixed in containerd 1.6.12 and 1.5.16. Users should update to these versions to resolve the issue.
Ensure that only trusted images and commands are used and that only trusted users have permissions to execute commands in running containers.
If you have any questions or comments about this advisory:
To report a security issue in containerd:
github.com/containerd/containerd < 1.5.16github.com/containerd/containerd >= 1.6.0, < 1.6.12Upgrade to a patched release:
github.com/containerd/containerd 1.5.16github.com/containerd/containerd 1.6.12Connected by shared product, vendor, weakness, or advisory.
CVE-2022-31030Medium· 5.5containerd CRI plugin: Host memory exhaustion through ExecSync
CVE-2021-41103Medium· 5.9Insufficiently restricted permissions on plugin directories
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-2021-43816High· 8.0Unprivileged pod using `hostPath` can side-step active LSM when it is SELinux