CVEfocus › CVE database › CVE-2022-23471

CVE-2022-23471containerd CRI stream server: Host memory exhaustion through terminal resize goroutine…

CVSS 5.7 MediumEPSS 1.2% (higher than 68% of CVEs)Published 2022-12-07Updated 2025-04-23Assigner: GitHub_M

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.

CWE-400

What to do

Fixed builds are available from Alpine, Debian, Go, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

15Fixed
1Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10containerdNot affected
vulnerable_code_not_present
Ubuntu 22.04containerdFixed1.5.9-0ubuntu3.1UBUNTU-CVE-2022-23471
Ubuntu 20.04containerdFixed1.5.9-0ubuntu1~20.04.6UBUNTU-CVE-2022-23471
Ubuntu 18.04containerdFixed1.5.9-0ubuntu1~18.04.2UBUNTU-CVE-2022-23471
Ubuntu 16.04containerdFix pendingUBUNTU-CVE-2022-23471
Debian 14containerdFixed1.6.12~ds1-1DEBIAN-CVE-2022-23471
Debian 13containerdFixed1.6.12~ds1-1DEBIAN-CVE-2022-23471
Debian 12containerdFixed1.6.12~ds1-1DEBIAN-CVE-2022-23471
Alpine Linux 3.24containerdFixed1.6.12-r0ALPINE-CVE-2022-23471
Alpine Linux 3.23containerdFixed1.6.12-r0ALPINE-CVE-2022-23471
Alpine Linux 3.22containerdFixed1.6.12-r0ALPINE-CVE-2022-23471
Alpine Linux 3.21containerdFixed1.6.12-r0ALPINE-CVE-2022-23471
Alpine Linux 3.20containerdFixed1.6.12-r0ALPINE-CVE-2022-23471
Alpine Linux 3.19containerdFixed1.6.12-r0ALPINE-CVE-2022-23471
Alpine Linux 3.18containerdFixed1.6.12-r0ALPINE-CVE-2022-23471
Alpine Linux 3.17containerdFixed1.6.12-r0ALPINE-CVE-2022-23471
Go librarygithub.com/containerd/containerdFixed1.5.16GO-2022-1147

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.