ALAS2ECS-2022-001


Amazon Linux 2 Security Advisory: ALASECS-2022-001
Advisory Release Date: 2022-06-30 00:08 Pacific
Advisory Updated Date: 2023-10-06 23:37 Pacific
Severity: Medium

Issue Overview:

2023-10-06: CVE-2022-24769 was added to this advisory.

A bug was found in containerd where containers launched through containerd's CRI implementation with a specially-crafted image configuration could gain access to read-only copies of arbitrary files and directories on the host. This may bypass any policy-based enforcement on container setup (including a Kubernetes Pod Security Policy) and expose potentially sensitive information. Kubernetes and crictl can both be configured to use containerd's CRI implementation. (CVE-2022-23648)

A flaw was found in Moby (Docker Engine), where containers were started incorrectly with non-empty inheritable Linux process capabilities. This flaw allows an attacker with access to programs with inheritable file capabilities to elevate those capabilities to the permitted set when execve(2) runs. Containers using Linux users and groups to perform privilege separation inside the container are most directly impacted. (CVE-2022-24769)
This update includes the latest ECS agent and the latest docker, containerd, and runc versions. The severity is moderate. The packages are grouped in this advisory to indicate that all packages should be applied together to apply security updates and maintain operational stability.


Affected Packages:

ecs-init, docker, containerd, runc


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 ecs-init to update your system.
Run yum update docker to update your system.
Run yum update containerd to update your system.
Run yum update runc to update your system.

New Packages:
aarch64:
    docker-20.10.13-2.amzn2.aarch64
    docker-debuginfo-20.10.13-2.amzn2.aarch64
    ecs-init-1.61.1-1.amzn2.aarch64
    runc-1.0.3-3.amzn2.aarch64
    runc-debuginfo-1.0.3-3.amzn2.aarch64
    containerd-1.4.13-3.amzn2.aarch64
    containerd-stress-1.4.13-3.amzn2.aarch64
    containerd-debuginfo-1.4.13-3.amzn2.aarch64

src:
    docker-20.10.13-2.amzn2.src
    ecs-init-1.61.1-1.amzn2.src
    runc-1.0.3-3.amzn2.src
    containerd-1.4.13-3.amzn2.src

x86_64:
    docker-20.10.13-2.amzn2.x86_64
    docker-debuginfo-20.10.13-2.amzn2.x86_64
    ecs-init-1.61.1-1.amzn2.x86_64
    runc-1.0.3-3.amzn2.x86_64
    runc-debuginfo-1.0.3-3.amzn2.x86_64
    containerd-1.4.13-3.amzn2.x86_64
    containerd-stress-1.4.13-3.amzn2.x86_64
    containerd-debuginfo-1.4.13-3.amzn2.x86_64