{"cve":"CVE-2022-23471","nvd":{"published":"2022-12-07T23:15:09.763","modified":"2026-06-17T04:30:11.483","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5},"cwes":["CWE-401","CWE-400"],"references":["https://github.com/containerd/containerd/commit/a05d175400b1145e5e6a735a6710579d181e7fb0","https://github.com/containerd/containerd/security/advisories/GHSA-2qjp-425j-52j9","https://security.gentoo.org/glsa/202401-31","https://github.com/containerd/containerd/commit/a05d175400b1145e5e6a735a6710579d181e7fb0","https://github.com/containerd/containerd/security/advisories/GHSA-2qjp-425j-52j9"],"products":["linuxfoundation:containerd"],"source":"nvd","synced_at":"2026-10-19T21:37:28.463369388+00:00"},"epss":{"cve":"CVE-2022-23471","score":0.01109,"percentile":0.65899,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-2qjp-425j-52j9","url":"https://osv.dev/vulnerability/GHSA-2qjp-425j-52j9","summary":"containerd CRI stream server vulnerable to host memory exhaustion via terminal","modified":"2026-09-10T03:49:50.177462450Z","packages":[{"ecosystem":"Go","name":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","ranges":["<1.5.16"],"fixed":["1.5.16"]},{"ecosystem":"Go","name":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","ranges":[">=1.6.0 <1.6.12"],"fixed":["1.6.12"]}]},{"id":"GO-2022-1147","url":"https://osv.dev/vulnerability/GO-2022-1147","summary":"containerd CRI stream server vulnerable to host memory exhaustion via terminal in github.com/containerd/containerd","modified":"2026-02-04T02:17:41.862229Z","packages":[{"ecosystem":"Go","name":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","ranges":["<1.5.16",">=1.6.0 <1.6.12"],"fixed":["1.5.16","1.6.12"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}