ALAS2ECS-2023-002
Active ModerateALAS2ECS-2023-002 (medium): containerd
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 3 records
Shared by all 3 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2ECS-2023-002.html| CVE |
|---|
| CVE-2022-23471 |
| CVE-2023-25153 |
| CVE-2023-25173 |
Description
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
Read full publisher description 2545 characters
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) 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. Users should update to these versions to resolve the issue. 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. If an attacker has direct access to a container and manipulates their supplementary group access, they may be able to use supplementary group access to bypass primary group restrictions in some cases, potentially gaining access to sensitive information or gaining the ability to execute code in that container. Downstream applications that use the containerd client library may be affected as well. This bug has been fixed in containerd v1.6.18 and v.1.5.18. Users should update to these versions and recreate containers to resolve this issue. Users who rely on a downstream application that uses containerd's client library should check that application for a separate advisory and instructions. As a workaround, ensure that the `"USER $USERNAME"` Dockerfile instruction is not used. Instead, set the container entrypoint to a value similar to `ENTRYPOINT ["su", "-", "user"]` to allow `su` to properly set up supplementary groups. (CVE-2023-25173)
Solution
Run yum update containerd or yum update --advisory ALAS2ECS-2023-002 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 3 occurrences-
1containerd
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- containerd-1.6.19-1.amzn2.0.1.aarch64
- containerd-stress-1.6.19-1.amzn2.0.1.aarch64
- containerd-debuginfo-1.6.19-1.amzn2.0.1.aarch64
-
2containerd
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- containerd-1.6.19-1.amzn2.0.1.src
-
3containerd
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- containerd-1.6.19-1.amzn2.0.1.x86_64
- containerd-stress-1.6.19-1.amzn2.0.1.x86_64
- containerd-debuginfo-1.6.19-1.amzn2.0.1.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
6- CVE-2022-23471 https://access.redhat.com/security/cve/CVE-2022-23471
- CVE-2023-25153 https://access.redhat.com/security/cve/CVE-2023-25153
- CVE-2023-25173 https://access.redhat.com/security/cve/CVE-2023-25173
- CVE-2022-23471 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23471
- CVE-2023-25153 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25153
- CVE-2023-25173 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25173
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2ECS-2023-002.html | Unknown | 694b4378f91a03856b73f388933cb3d0d54d05460ff182a6433d80746692e916 | amazon-alas/1 | 2026-11-16T08:26:43Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2ECS-2023-002.html | Unknown | Unknown | amazon-alas/1 | 2026-11-16T08:26:43Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2ECS-2023-002.html | Unknown | Unknown | amazon-alas/1 | 2026-11-16T08:26:43Z |