Vulnerability
CVE-2022-23471
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.
17 advisories report this vulnerability, across 11 ecosystems.
Advisories
-
ALAS2023-2023-156
Amazon Linux 2023 - ALAS2023-2023-156: Medium priority package update for containerd
-
ALPINE-CVE-2022-23471
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…
- ALPINE-EDGE-CVE-2022-23471
-
AZL-11585
CVE-2022-23471 affecting package moby-containerd for versions less than 1.6.12-3
- CGA-g89g-mqrj-qqqf
- CGA-w8rc-q529-ccm2
-
DEBIAN-CVE-2022-23471
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…
-
GHSA-2qjp-425j-52j9
containerd CRI stream server vulnerable to host memory exhaustion via terminal
-
GO-2022-1147
containerd CRI stream server vulnerable to host memory exhaustion via terminal in github.com/containerd/containerd
-
OESA-2022-2143
containerd security update
-
SUSE-SU-2022:4409-1
Security update for containerd
-
SUSE-SU-2022:4463-1
Security update for containerd
-
SUSE-SU-2023:1566-1
Security update for containerd
-
SUSE-SU-2023:1628-1
Security update for containerd
-
UBUNTU-CVE-2022-23471
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…
-
USN-5776-1
containerd vulnerabilities
-
openSUSE-SU-2024:12558-1
containerd-1.6.12-1.1 on GA media