ALASNITRO-ENCLAVES-2025-051


Amazon Linux 2 Security Advisory: ALASNITRO-ENCLAVES-2025-051
Advisory Release Date: 2025-03-26 19:21 Pacific
Advisory Updated Date: 2025-04-01 15:59 Pacific
Severity: Medium

Issue Overview:

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:

containerd


Note:

This advisory is applicable to Amazon Linux 2 - Nitro-enclaves 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 containerd to update your system.

New Packages:
aarch64:
    containerd-1.7.27-1.amzn2.0.1.aarch64
    containerd-stress-1.7.27-1.amzn2.0.1.aarch64
    containerd-debuginfo-1.7.27-1.amzn2.0.1.aarch64

src:
    containerd-1.7.27-1.amzn2.0.1.src

x86_64:
    containerd-1.7.27-1.amzn2.0.1.x86_64
    containerd-stress-1.7.27-1.amzn2.0.1.x86_64
    containerd-debuginfo-1.7.27-1.amzn2.0.1.x86_64