Amazon Linux Security Advisory
ALAS2023-2025-1304
Amazon Linux 2023 - ALAS2023-2025-1304: Medium priority package update for containerd
Details
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2025-64329: containerd is an open-source container runtime. Versions 1.7.28 and below, 2.0.0-beta.0 through 2.0.6, 2.1.0-beta.0 through 2.1.4, and 2.2.0-beta.0 through 2.2.0-rc.1 contain a bug in the CRI Attach implementation where a user can exhaust memory on the host due to goroutine leaks. This issue is fixed in versions 1.7.29, 2.0.7, 2.1.5 and 2.2.0. To workaround this vulnerability, users can set up an admission controller to control accesses to pods/attach resources.
CVE-2024-25621: containerd is an open-source container runtime. Versions 0.1.0 through 1.7.28, 2.0.0-beta.0 through 2.0.6, 2.1.0-beta.0 through 2.1.4 and 2.2.0-beta.0 through 2.2.0-rc.1 have an overly broad default permission vulnerability. Directory paths /var/lib/containerd, /run/containerd/io.containerd.grpc.v1.cri and /run/containerd/io.containerd.sandbox.controller.v1.shim were all created with incorrect permissions. This issue is fixed in versions 1.7.29, 2.0.7, 2.1.5 and 2.2.0. Workarounds include updating system administrator permissions so the host can manually chmod the directories to not have group or world accessible permissions, or to run containerd in rootless mode.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2023 | containerd | All versions before 2.1.5-1.amzn2023.0.1 (fixed in 2.1.5-1.amzn2023.0.1) |
| Amazon Linux:2023 | containerd-debuginfo | All versions before 2.1.5-1.amzn2023.0.1 (fixed in 2.1.5-1.amzn2023.0.1) |
| Amazon Linux:2023 | containerd-debugsource | All versions before 2.1.5-1.amzn2023.0.1 (fixed in 2.1.5-1.amzn2023.0.1) |
| Amazon Linux:2023 | containerd-stress | All versions before 2.1.5-1.amzn2023.0.1 (fixed in 2.1.5-1.amzn2023.0.1) |
| Amazon Linux:2023 | containerd-stress-debuginfo | All versions before 2.1.5-1.amzn2023.0.1 (fixed in 2.1.5-1.amzn2023.0.1) |