🛡️ CVE-2022-23471 — containerd

🟡 CVSS 5.7 — Medium ✅ No Known Exploit CWE-400 NVD
5.7
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

containerd CRI stream server vulnerable to host memory exhaustion via terminal

Impact

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.

Patches

This bug has been fixed in containerd 1.6.12 and 1.5.16. Users should update to these versions to resolve the issue.

Workarounds

Ensure that only trusted images and commands are used and that only trusted users have permissions to execute commands in running containers.

For more information

If you have any questions or comments about this advisory:

  • Open an issue in [containerd](https://github.com/containerd/containerd/issues/new/choose)
  • Email us at [security@containerd.io](mailto:[email protected])

To report a security issue in containerd:

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

Weakness class

CVE-2022-23471 is classified as CWE-400: Uncontrolled Resource Consumption. A request can consume memory, CPU or storage without limit, exhausting capacity for everyone else.

Affected software

CVE-2022-23471 is recorded against 2 packages.

  • containerd (from 1.6.0 up to 1.6.12)
  • github.com/containerd/containerd

Timeline and source

Published on 7 December 2022 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

github.com
github.com
security.gentoo.org
github.com
github.com
security.gentoo.org

CVE-2022-23471 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity MEDIUM
CVSS Score 5.7
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
CWE CWE-400
Public Exploit ✅ No
Source NVD
Published 2022-12-07
Updated 2026-08-12
Modified 2026-06-17

Affected Packages

Software From version Fixed in
containerd 1.6.0 1.6.12
github.com/containerd/containerd

Vulnerability Monitoring

Track new vulnerabilities in containerd

CVE-2022-23471 is rated CVSS 5.7 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2022