containerd is an open source container runtime. 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. Users unable to upgrade should ensure that only trusted images and commands are used and that only trusted users have permissions to execute commands in running containers.
CVSS Details
- CVSS 3.1 Base Score: 5.7
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | alpine-linux-upgrade-containerd | Aug 22, 2024 | Dec 7, 2022 | |
| Amazon Linux Ami 2 | amazon-linux-ami-2-upgrade-containerdamazon-linux-ami-2-upgrade-containerd-debuginfoamazon-linux-ami-2-upgrade-containerd-stress | Apr 6, 2023 | Dec 7, 2022 | |
| Debian | debian-upgrade-containerd | Jul 30, 2024 | Dec 7, 2022 | |
| Gentoo Linux | gentoo-linux-upgrade-app-containers-containerd | Feb 1, 2024 | Dec 7, 2022 | |
| Huawei Euleros 2_0_sp10 | huawei-euleros-2_0_sp10-upgrade-docker-engine | Mar 20, 2023 | Dec 7, 2022 | |
| Huawei Euleros 2_0_sp11 | huawei-euleros-2_0_sp11-upgrade-docker-engine | Mar 24, 2023 | Dec 7, 2022 | |
| Huawei Euleros 2_0_sp9 | huawei-euleros-2_0_sp9-upgrade-docker-engine | Mar 9, 2023 | Dec 7, 2022 | |
| Suse | — | suse-upgrade-containerdsuse-upgrade-containerd-ctrsuse-upgrade-containerd-devel | Dec 13, 2022 | Dec 7, 2022 |
| Ubuntu | ubuntu-upgrade-containerd | Dec 13, 2022 | Dec 7, 2022 | |
| Vmware Photon_os | vmware-photon_os_update_tdnf | Jan 20, 2025 | Dec 7, 2022 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub