QID 354880

Date Published: 2023-04-06

QID 354880: Amazon Linux Security Advisory for containerd : ALAS2DOCKER-2023-023

containerd is an open source container runtime.
A bug was found in containerds 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 users 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 containerds 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) containerd is an open source container runtime.
Before versions 1.6.18 and 1.5.18, when importing an oci image, there was no limit on the number of bytes read for certain files.
A maliciously crafted image with a large file where a limit was not applied could cause a denial of service.
This bug has been fixed in containerd 1.6.18 and 1.5.18.
As a workaround, ensure that only trusted images are used and that only trusted users have permissions to import images. (
( CVE-2023-25153) containerd is an open source container runtime.
A bug was found in containerd prior to versions 1.6.18 and 1.5.18 where supplementary groups are not set up properly inside a container.
Downstream applications that use the containerd client library may be affected as well.
This bug has been fixed in containerd

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 7.8 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2DOCKER-2023-023 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 354880

    Software Advisories
    Advisory ID Software Component Link
    ALAS2DOCKER-2023-023 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALASDOCKER-2023-023.html