VDB

CVE-2022-23471

CVE-2022-23471 PUBLISHED CVSS 5.7 MEDIUM

containerd CRI stream server vulnerable to host memory exhaustion via terminal

Reported by github_m · Published December 7, 2022

github.com/containerd/containerd is fixed in 1.6.12 and 1.5.16 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/containerd/containerdGo Modules1.6.12, 1.5.16
ctopChainguard0.7.7-r13
ctopWolfi0.7.7-r13
containerd-stressAmazon Linux1.6.19-1.amzn2023.0.1
containerdAlpine1.6.12-r0
flux-helm-controller-0.37Chainguard0.27.0-r7
containerdAmazon Linux1.6.19-1.amzn2023.0.1
containerdlinuxfoundation1.6.12, 1.5.16

Risk scores

CVSS 3.1
5.7
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
containerdcontainerd< 1.5.16, >= 1.6.0, < 1.6.12
chainguardctop0
wolfictop0
amazon:2023containerd-stress0
alpinecontainerd0
github.comcontainerd/containerd0, 1.6.0
chainguardflux-helm-controller-0.370
amazon:2023containerd0
containerdcontainerd0, 1.6.0

Timeline

  • Dec 7, 2022 CVE Published
  • Dec 8, 2022 EPSS Score (30 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (2 in total, the first dated here)
  • Jul 5, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-23471
vulnetix vdb fixes CVE-2022-23471

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-23471/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›