{"answers":{"affected":"5 open source packages ship an affected version, including github.com/containerd/containerd. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-23471 in the wild and no public exploit code.","fix":"Upgrade github.com/containerd/containerd to a fixed version for your release line: 1.5.16 or 1.6.12.","what":"CVE-2022-23471 is a medium-severity denial of service vulnerability in containerd, published on 7 Dec 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-23471 and fix it if it is affected.\n\nWhat it is: CVE-2022-23471 is a medium-severity denial of service vulnerability in containerd, published on 7 Dec 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-23471 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/containerd/containerd (Go): affected all versions; fixed in 1.5.16, 1.6.12\n- github.com/containerd/containerd (Go): affected all versions; fixed in 1.5.16\n- github.com/containerd/containerd (Go): affected all versions; fixed in 1.5.16\n- github.com/containerd/containerd (Go): affected from 1.6.0; fixed in 1.6.12\n- github.com/containerd/containerd (Go): affected from 1.6.0; fixed in 1.6.12\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-23471/ (Markdown: https://insights.sbomify.com/CVE-2022-23471/index.md)","id":"CVE-2022-23471","markdown":"https://insights.sbomify.com/CVE-2022-23471/index.md","name":"CVE-2022-23471","record":{"aliases":["AZL-11585","CLEANSTART-2025-SX71346","DEBIAN-CVE-2022-23471","GHSA-2qjp-425j-52j9","GO-2022-1147","OESA-2022-2143","SUSE-SU-2023:1566-1","SUSE-SU-2023:1628-1","UBUNTU-CVE-2022-23471","openSUSE-SU-2024:12558-1"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"container runtime","requires_auth":"low_privilege","summary":"An attacker can exhaust host memory via a goroutine leak in containerd's CRI stream server when handling failed TTY launches, causing denial of service.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"containerd","vendor":"linuxfoundation"}],"cvss":{"score":5.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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.","ecosystems":["Go","SUSE:Enterprise Storage 7","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Module for Containers 12","SUSE:Linux Enterprise Module for Containers 15 SP4","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","openSUSE:Leap 15.4","openSUSE:Leap Micro 5.3","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"containerd CRI stream server: Host memory exhaustion through terminal resize goroutine leak","id":"CVE-2022-23471","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2022"},"n_packages":25,"n_references":3,"next":{"headline":"Use of insecure random number generator in Passeo","id":"CVE-2022-23472"},"packages":[{"ecosystem":"Go","fixed":["1.5.16","1.6.12"],"introduced":["0","1.6.0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","source":"GO-2022-1147"},{"ecosystem":"Go","fixed":["1.5.16"],"introduced":["0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":null,"source":"GHSA-2qjp-425j-52j9"},{"ecosystem":"Go","fixed":["1.5.16"],"introduced":["0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","source":"GHSA-2qjp-425j-52j9"},{"ecosystem":"Go","fixed":["1.6.12"],"introduced":["1.6.0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":null,"source":"GHSA-2qjp-425j-52j9"},{"ecosystem":"Go","fixed":["1.6.12"],"introduced":["1.6.0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","source":"GHSA-2qjp-425j-52j9"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["1.6.16-150000.82.2"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2023:1628-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["1.6.16-150000.82.2"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:1628-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["1.6.16-150000.82.2"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2023:1628-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["1.6.16-150000.82.2"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:1628-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["1.6.16-150000.82.2"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:1628-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["1.6.16-150000.82.2"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:1628-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["1.6.16-150000.82.2"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2023:1628-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["1.6.16-150000.82.2"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2023:1628-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["1.6.16-150000.82.2"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2023:1628-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 12","fixed":["1.6.16-16.71.1"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2012","source":"SUSE-SU-2023:1566-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP4","fixed":["1.6.16-150000.82.2"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP4","source":"SUSE-SU-2023:1628-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["1.6.16-150000.82.2"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2023:1628-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["1.6.16-150000.82.2"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2023:1628-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["1.6.16-150000.82.2"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2023:1628-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["1.6.16-150000.82.2"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2023:1628-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["1.6.16-150000.82.2"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2023:1628-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["1.6.16-150000.82.2"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2023:1628-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["1.6.16-150000.82.2"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/opensuse/containerd\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:1628-1"},{"ecosystem":"openSUSE:Leap Micro 5.3","fixed":["1.6.16-150000.82.2"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/opensuse/containerd\u0026distro=openSUSE%20Leap%20Micro%205.3","source":"SUSE-SU-2023:1628-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.6.12-1.1"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/opensuse/containerd\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12558-1"}],"prev":{"headline":"Arbitrary file access in the Galaxy data analysis platform","id":"CVE-2022-23470"},"products":["containerd"],"published":"2022-12-07","related":[{"cvss_score":9.4,"headline":"containerd CRI — image-config `LABEL` flows to restart-monitor `binary://` logger: host-root command execution from an image pull","id":"CVE-2026-53488","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":8.4,"headline":"containerd CRI checkpoint restore CDI annotation smuggling","id":"CVE-2026-53492","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":8.2,"headline":"containerd: Arbitrary host CRI log file read via symlink following in CRI checkpoint restore","id":"CVE-2026-53489","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":7.6,"headline":"Containerd vulnerable to host filesystem access during image unpack","id":"CVE-2025-47290","kev_date_added":null,"published":"2025-05-20"},{"cvss_score":7.3,"headline":"containerd user ID handling bypass allows runAsNonRoot evasion","id":"CVE-2026-46680","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":7.3,"headline":"containerd affected by a local privilege escalation via wide permissions on CRI directory","id":"CVE-2024-25621","kev_date_added":null,"published":"2025-11-06"},{"cvss_score":6.9,"headline":"containerd CRI server: Host memory exhaustion through Attach goroutine leak","id":"CVE-2025-64329","kev_date_added":null,"published":"2025-11-07"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["containerd"]},"summary":"An attacker can exhaust host memory via a goroutine leak in containerd's CRI stream server when handling failed TTY launches, causing denial of service.","url":"https://insights.sbomify.com/CVE-2022-23471/"}