Azure Linux 3.0 Security Update: containerd / containerd2 / moby-containerd / moby-containerd-cc (CVE-2024-40635)

medium Nessus Plugin ID 235300

Synopsis

The remote Azure Linux host is missing one or more security updates.

Description

The version of containerd / containerd2 / moby-containerd / moby-containerd-cc installed on the remote Azure Linux 3.0 host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the CVE-2024-40635 advisory.

- 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)

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

Solution

Update the affected packages.

See Also

https://nvd.nist.gov/vuln/detail/CVE-2024-40635

Plugin Details

Severity: Medium

ID: 235300

File Name: azure_linux_CVE-2024-40635.nasl

Version: 1.2

Type: local

Published: 5/6/2025

Updated: 5/22/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.8

CVSS v2

Risk Factor: Low

Base Score: 2.9

Temporal Score: 2.3

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

CVSS Score Source: CVE-2024-40635

CVSS v3

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 4.2

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

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

Vulnerability Information

CPE: p-cpe:/a:microsoft:azure_linux:moby-containerd, x-cpe:/o:microsoft:azure_linux, p-cpe:/a:microsoft:azure_linux:containerd2, p-cpe:/a:microsoft:azure_linux:containerd, p-cpe:/a:microsoft:azure_linux:moby-containerd-cc

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/1/2025

Vulnerability Publication Date: 3/17/2025

Reference Information

CVE: CVE-2024-40635

IAVA: 2025-A-0300-S