containerd CRI stream server: Host memory exhaustion through terminal resize goroutine leak
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-400.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| backstage | containerd | before 1.5.16; 1.6.0 to before 1.6.12 | 1.5.16, 1.6.12 | Patch available | CNA |
| — | github.com/containerd/containerd (Go) | before 1.5.16 | 1.5.16 | Patch available | GHSA-2qjp-425j-52j9 |
| — | github.com/containerd/containerd (Go) | 1.6.0 to before 1.6.12 | 1.6.12 | Patch available | GHSA-2qjp-425j-52j9 |
- containerd Vendorbackstage Affected before 1.5.16; 1.6.0 to before 1.6.12 Fixed in 1.5.16, 1.6.12 Patch available CNA
- github.com/containerd/containerd (Go) Vendor— Affected before 1.5.16 Fixed in 1.5.16 Patch available GHSA-2qjp-425j-52j9
- github.com/containerd/containerd (Go) Vendor— Affected 1.6.0 to before 1.6.12 Fixed in 1.6.12 Patch available GHSA-2qjp-425j-52j9
Remediation
- Fix · CNA containerd (containerd) Fixed in 1.5.16, 1.6.12
- Fix · GHSA-2qjp-425j-52j9 github.com/containerd/containerd (Go) Fixed in 1.5.16 Advisory →
- Fix · GHSA-2qjp-425j-52j9 github.com/containerd/containerd (Go) Fixed in 1.6.12 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2022-23471
- 2026-10-03 Alias added: GHSA-2qjp-425j-52j9
References
Advisory 2
More backstage Containerd vulnerabilities
- TI-2021-19622 Improper Preservation of Permissions in containerd CVSS 3.1CRITICAL 9.1
- TI-2023-10635 containerd supplementary groups are not set up properly CVSS 3.1HIGH 7.8
- TI-2022-07700 Insecure handling of image volumes in containerd CRI plugin CVSS 3.1HIGH 7.5
- TI-2026-38567 Improper input validation in backstage containerd CVSS 4.0CRITICAL 9.4
- TI-2026-38569 containerd CRI checkpoint restore CDI annotation smuggling CVSS 4.0HIGH 8.4
- TI-2025-29820 Containerd vulnerable to host filesystem access during image unpack CVSS 4.0HIGH 7.6
Sources
- CVE-2022-23471 · CVE Program
- CVE-2022-23471 · NVD
- FIRST EPSS
- GHSA-2qjp-425j-52j9 · GitHub Advisory Database · CC BY 4.0
- CVE-2022-23471 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences