CVE-2022-23471 json
containerd CRI stream server: Host memory exhaustion through terminal resize goroutine leak
published 2022-12-07 3 y ago modified 2026-09-10 1 mo ago also GHSA-2qjp-425j-52j9 , GO-2022-1147 , EUVD-2022-7476
- cvss
- 5.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 66%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/containerd/containerd 1.5.16, 1.6.12
- linuxfoundation containerd 1.5.16, 1.6.12
- containerd Debian 14, Debian 13, Debian 12 1.6.12~ds1-1
debian advisories DEBIAN-CVE-2022-23471
- containerd Ubuntu 18.04 LTS 1.5.9-0ubuntu1~18.04.2
- containerd Ubuntu 20.04 LTS 1.5.9-0ubuntu1~20.04.6
- containerd Ubuntu 22.04 LTS 1.5.9-0ubuntu3.1
ubuntu advisories UBUNTU-CVE-2022-23471
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- containerd SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES for SAP 15 SP1 +15 more 1.6.16-150000.82.2
- containerd SLE Module for Containers 12 1.6.16-16.71.1
- containerd SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +26 more 1.6.12-150000.79.1
- containerd SLE Module for Containers 12 1.6.12-16.68.1
suse advisories SUSE-SU-2023:1628-1SUSE-SU-2023:1566-1SUSE-SU-2022:4463-1SUSE-SU-2022:4409-1
- containerd openSUSE Tumbleweed 1.6.12-1.1
opensuse advisories openSUSE-SU-2024:12558-1
- containerd Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 1.6.12-r0
alpine advisories ALPINE-CVE-2022-23471
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-23471 updated cvss 6.5
containerd: host memory exhaustion
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-24-046-11 updated cvss 5.7
Siemens SCALANCE XCM-/XRM-300
-
Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) <V2.4 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) <V2.4 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) <V2.4 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) <V2.4 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) <V2.4 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) <V2.4affected: fixed in V2.4 support.industry.siemens.com
+5 more productsfewer
Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) <V2.4
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.11% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/containerd/containerd | <1.5.16 >=1.6.0, <1.6.12 |
1.5.16 1.6.12 |
Affected products
- containerd containerd
Classification
References
-
github.com
/containerd/containerd/commit/a05d175400b1145e5e6a735a6710579d181e7fb0
web, patch, third-party-advisory
-
github.com
/containerd/containerd/commit/241563be06a3de8b6a849414c4e805b68d3bb295
web, patch
-
github.com
/containerd/containerd/security/advisories/GHSA-2qjp-425j-52j9
web, third-party-advisory, advisory
-
security.gentoo.org
/glsa/202401-31
web
-
nvd.nist.gov
/vuln/detail/CVE-2022-23471
advisory
-
github.com
/containerd/containerd
package
-
github.com
/containerd/containerd/releases/tag/v1.5.16
web
-
github.com
/containerd/containerd/releases/tag/v1.6.12
web
Sources
- CVE List CVE-2022-23471
- GitHub Advisory GHSA-2qjp-425j-52j9
- NVD CVE-2022-23471
- OSV GO-2022-1147
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.