Amazon Linux 2022 : containerd, containerd-stress (ALAS2022-2022-156)

medium Nessus Plugin ID 166350

Synopsis

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

Description

It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2022-2022-156 advisory.

A bug was found in containerd's CRI implementation where programs inside a container can cause the containerd daemon to consume memory without bound during invocation of the ExecSync API. This can cause containerd to consume all available memory on the computer, denying service to other legitimate workloads.
Kubernetes and crictl can both be configured to use containerd's CRI implementation; ExecSync may be used when running probes or when executing processes via an exec facility. (CVE-2022-31030)

A flaw was found in Moby. This flaw allows an attacker to bypass primary group restrictions due to a flaw in the supplementary group access setup. (CVE-2022-36109)

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

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

Solution

Run 'dnf update containerd --releasever=2022.0.20221019' to update your system.

See Also

https://alas.aws.amazon.com/AL2022/ALAS-2022-156.html

https://alas.aws.amazon.com/cve/html/CVE-2022-31030.html

https://alas.aws.amazon.com/cve/html/CVE-2022-36109.html

Plugin Details

Severity: Medium

ID: 166350

File Name: al2022_ALAS2022-2022-156.nasl

Version: 1.3

Type: local

Agent: unix

Published: 10/20/2022

Updated: 12/11/2024

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Low

Base Score: 2.1

Temporal Score: 1.6

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

CVSS Score Source: CVE-2022-31030

CVSS v3

Risk Factor: Medium

Base Score: 6.3

Temporal Score: 5.5

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

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

CVSS Score Source: CVE-2022-36109

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:containerd-stress, p-cpe:/a:amazon:linux:containerd-debugsource, p-cpe:/a:amazon:linux:containerd, p-cpe:/a:amazon:linux:containerd-debuginfo, cpe:/o:amazon:linux:2022, p-cpe:/a:amazon:linux:containerd-stress-debuginfo

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

Exploit Ease: No known exploits are available

Patch Publication Date: 10/17/2022

Vulnerability Publication Date: 6/6/2022

Reference Information

CVE: CVE-2022-31030, CVE-2022-36109