CVE-2022-23471

containerd CRI stream server: Host memory exhaustion through terminal resize goroutine leak

Description

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.

Categories

5.7
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.20%
Third-Party Advisory github.com Third-Party Advisory github.com
Affected: containerd containerd
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-23471?
CVE-2022-23471 has been scored as a medium severity vulnerability.
How to fix CVE-2022-23471?
To fix CVE-2022-23471, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-23471 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-23471 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-23471?
CVE-2022-23471 affects containerd containerd.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.