Amazon Linux 2 : shim (ALAS-2024-2484)

high Nessus Plugin ID 191524

Synopsis

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

Description

It is, therefore, affected by a vulnerability as referenced in the ALAS2-2024-2484 advisory.

- A remote code execution vulnerability was found in Shim. The Shim boot support trusts attacker-controlled values when parsing an HTTP response. This flaw allows an attacker to craft a specific malicious HTTP request, leading to a completely controlled out-of-bounds write primitive and complete system compromise.
This flaw is only exploitable during the early boot phase, an attacker needs to perform a Man-in-the- Middle or compromise the boot server to be able to exploit this vulnerability successfully.
(CVE-2023-40547)

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

See Also

https://alas.aws.amazon.com/AL2/ALAS-2024-2484.html

https://alas.aws.amazon.com/cve/html/CVE-2023-40547.html

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

Plugin Details

Severity: High

ID: 191524

File Name: al2_ALAS-2024-2484.nasl

Version: 1.0

Type: local

Agent: unix

Published: 3/5/2024

Updated: 3/5/2024

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

Risk Information

VPR

Risk Factor: Critical

Score: 9.2

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2023-40547

CVSS v3

Risk Factor: High

Base Score: 8.3

Temporal Score: 7.2

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:shim-unsigned-aa64, p-cpe:/a:amazon:linux:shim-unsigned-aa64-debuginfo, p-cpe:/a:amazon:linux:shim-unsigned-x64, p-cpe:/a:amazon:linux:shim-unsigned-x64-debuginfo, cpe:/o:amazon:linux:2

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

Exploit Ease: No known exploits are available

Patch Publication Date: 2/29/2024

Vulnerability Publication Date: 1/25/2024

Reference Information

CVE: CVE-2023-40547