PT-2022-6020 · Containerd+7 · Kubernetes Containerd+6
Samuelkarp
·
Published
2022-12-07
·
Updated
2024-09-10
·
CVE-2022-23471
CVSS v2.0
6.8
Medium
| Vector | AV:N/AC:L/Au:S/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
containerd versions prior to 1.6.12
containerd versions prior to 1.5.16
Description
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.
Recommendations
For versions prior to 1.6.12, update to version 1.6.12 to resolve the issue.
For versions prior to 1.5.16, update to version 1.5.16 to resolve the issue.
For users unable to upgrade, ensure that only trusted images and commands are used and that only trusted users have permissions to execute commands in running containers.
Exploit
Fix
Resource Exhaustion
Memory Leak
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Kubernetes Containerd
Linuxmint
Red Os
Suse
Ubuntu