ADVISORIES

openEuler Security Advisory

OESA-2022-2143

containerd security update

Details

containerd is an industry-standard container runtime with an emphasis on simplicity, robustness and portability. It is available as a daemon for Linux and Windows, which can manage the complete container lifecycle of its host system: image transfer and storage, container execution and supervision, low-level storage and network attachments, etc.

Security Fix(es):

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.(CVE-2022-23471)

Affected packages

EcosystemPackageAffected versions
openEuler:20.03-LTS-SP1containerd
All versions before 1.2.0-207.oe1 (fixed in 1.2.0-207.oe1)
openEuler:20.03-LTS-SP3containerd
All versions before 1.2.0-207.oe1 (fixed in 1.2.0-207.oe1)
openEuler:22.03-LTScontainerd
All versions before 1.2.0-307.oe2203 (fixed in 1.2.0-307.oe2203)

References