Amazon Linux 2 Security Advisory: ALAS2ECS-2025-066
Advisory Released Date: 2025-06-11
Advisory Updated Date: 2025-06-11
containerd is an open-source container runtime. A bug was found in containerd prior to versions 1.6.38, 1.7.27, and 2.0.4 where containers launched with a User set as a `UID:GID` larger than the maximum 32-bit signed integer can cause an overflow condition where the container ultimately runs as root (UID 0). This could cause unexpected behavior for environments that require containers to run as a non-root user. This bug has been fixed in containerd 1.6.38, 1.7.27, and 2.04. As a workaround, ensure that only trusted images are used and that only trusted users have permissions to import images. (CVE-2024-40635)
Affected Packages:
docker
Note:
This advisory is applicable to Amazon Linux 2 - Ecs Extra. Visit this page to learn more about Amazon Linux 2 (AL2) Extras and this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update docker to update your system.
aarch64:
docker-25.0.8-1.amzn2.0.4.aarch64
docker-debuginfo-25.0.8-1.amzn2.0.4.aarch64
src:
docker-25.0.8-1.amzn2.0.4.src
x86_64:
docker-25.0.8-1.amzn2.0.4.x86_64
docker-debuginfo-25.0.8-1.amzn2.0.4.x86_64