Amazon Linux 2 : kernel (ALASKERNEL-5.4-2022-022)

high Nessus Plugin ID 160452

Synopsis

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

Description

The version of kernel installed on the remote host is prior to 5.4.176-91.338. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2KERNEL-5.4-2022-022 advisory.

2024-12-05: CVE-2022-48757 was added to this advisory.

2024-08-01: CVE-2022-48760 was added to this advisory.

2024-08-01: CVE-2022-48754 was added to this advisory.

2024-08-01: CVE-2021-47619 was added to this advisory.

2024-08-01: CVE-2022-48747 was added to this advisory.

In the Linux kernel, the following vulnerability has been resolved:

i40e: Fix queues reservation for XDP (CVE-2021-47619)

A random memory access flaw was found in the Linux kernel's GPU i915 kernel driver functionality in the way a user may run malicious code on the GPU. This flaw allows a local user to crash the system or escalate their privileges on the system. (CVE-2022-0330)

The cgroup release_agent is called with call_usermodehelper. The function call_usermodehelper starts the release_agent with a full set of capabilities. Therefore require capabilities when setting the release_agent. (CVE-2022-0492)

In the Linux kernel, the following vulnerability has been resolved:

block: Fix wrong offset in bio_truncate() (CVE-2022-48747)

In the Linux kernel, the following vulnerability has been resolved:

phylib: fix potential use-after-free (CVE-2022-48754)

In the Linux kernel, the following vulnerability has been resolved:

net: fix information leakage in /proc/net/ptype (CVE-2022-48757)

In the Linux kernel, the following vulnerability has been resolved:

USB: core: Fix hang in usb_kill_urb by adding memory barriers (CVE-2022-48760)

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 'yum update kernel' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALASKERNEL-5.4-2022-022.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47619.html

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

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

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

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

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

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

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

Plugin Details

Severity: High

ID: 160452

File Name: al2_ALASKERNEL-5_4-2022-022.nasl

Version: 1.10

Type: local

Agent: unix

Published: 5/2/2022

Updated: 12/17/2024

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

Risk Information

VPR

Risk Factor: High

Score: 8.4

CVSS v2

Risk Factor: Medium

Base Score: 6.9

Temporal Score: 5.7

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

CVSS Score Source: CVE-2022-0492

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7.2

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:perf, p-cpe:/a:amazon:linux:bpftool, p-cpe:/a:amazon:linux:perf-debuginfo, p-cpe:/a:amazon:linux:kernel-tools-debuginfo, p-cpe:/a:amazon:linux:kernel-debuginfo-common-aarch64, p-cpe:/a:amazon:linux:kernel-tools, p-cpe:/a:amazon:linux:kernel-devel, p-cpe:/a:amazon:linux:python-perf-debuginfo, p-cpe:/a:amazon:linux:kernel, p-cpe:/a:amazon:linux:kernel-debuginfo, p-cpe:/a:amazon:linux:kernel-headers, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:bpftool-debuginfo, p-cpe:/a:amazon:linux:kernel-tools-devel, p-cpe:/a:amazon:linux:kernel-debuginfo-common-x86_64, p-cpe:/a:amazon:linux:python-perf

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: 2/4/2022

Vulnerability Publication Date: 2/4/2022

Exploitable With

Metasploit (Docker cgroups Container Escape)

Reference Information

CVE: CVE-2021-47619, CVE-2022-0330, CVE-2022-0492, CVE-2022-48747, CVE-2022-48754, CVE-2022-48757, CVE-2022-48760