Amazon Linux 2 : docker (ALASNITRO-ENCLAVES-2024-041)

critical Nessus Plugin ID 204929

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of docker installed on the remote host is prior to 25.0.6-1. It is, therefore, affected by a vulnerability as referenced in the ALAS2NITRO-ENCLAVES-2024-041 advisory.

AWS is aware of CVE-2024-41110, an issue affecting the Moby open source project, packaged in Amazon Linux as docker. Docker is a component of several open source container management systems.

This issue does not affect the default configuration of docker. If an authorization plugin is enabled, a specially-crafted API request to the docker daemon will be forwarded to the authorization plugin in a way that could lead to unintended actions, such as privilege escalation. Enabling an authorization plugin is an atypical configuration. The affected API endpoint is not exposed to the network in either the default, typical, or recommended configurations. The default EKS and ECS configurations do not expose the API endpoint to the network. Enabling a Docker authorization plugin is not supported when using ECS. Finally, docker is not installed on EKS AMIs newer than 1.24. Although Docker is installed in EKS 1.24 and earlier, EKS does not support authorization plugins.

Updated docker packages addressing the issue are available for Amazon Linux 2 (docker-20.10.25-1.amzn2.0.5 and docker-25.0.6-1.amzn2.0.1) and for Amazon Linux 2023 (docker-25.0.6-1amzn2023.0.1). AWS recommends that customers using docker upgrade to these or later versions. (CVE-2024-41110)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update docker' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALASNITRO-ENCLAVES-2024-041.html

https://alas.aws.amazon.com/cve/html/CVE-2024-41110.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: Critical

ID: 204929

File Name: al2_ALASNITRO-ENCLAVES-2024-041.nasl

Version: 1.3

Type: local

Agent: unix

Published: 7/31/2024

Updated: 8/2/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Critical

Score: 10.0

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2024-41110

CVSS v3

Risk Factor: Critical

Base Score: 9.9

Temporal Score: 8.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:docker, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:docker-debuginfo

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/29/2024

Vulnerability Publication Date: 7/23/2024

Reference Information

CVE: CVE-2024-41110

IAVA: 2024-A-0438