Rocky Linux 9 : grub2 (RLSA-2023:0752)

high Nessus Plugin ID 171540

Synopsis

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

Description

The remote Rocky Linux 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the RLSA-2023:0752 advisory.

- A buffer overflow was found in grub_font_construct_glyph(). A malicious crafted pf2 font can lead to an overflow when calculating the max_glyph_size value, allocating a smaller than needed buffer for the glyph, this further leads to a buffer overflow and a heap based out-of-bounds write. An attacker may use this vulnerability to circumvent the secure boot mechanism. (CVE-2022-2601)

- When rendering certain unicode sequences, grub2's font code doesn't proper validate if the informed glyph's width and height is constrained within bitmap size. As consequence an attacker can craft an input which will lead to a out-of-bounds write into grub2's heap, leading to memory corruption and availability issues. Although complex, arbitrary code execution could not be discarded. (CVE-2022-3775)

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

Solution

Update the affected packages.

See Also

https://errata.rockylinux.org/RLSA-2023:0752

https://bugzilla.redhat.com/show_bug.cgi?id=2112975

https://bugzilla.redhat.com/show_bug.cgi?id=2138880

Plugin Details

Severity: High

ID: 171540

File Name: rocky_linux_RLSA-2023-0752.nasl

Version: 1.3

Type: local

Published: 2/16/2023

Updated: 9/4/2023

Supported Sensors: Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.3

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.6

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

CVSS Score Source: CVE-2022-2601

CVSS v3

Risk Factor: High

Base Score: 8.6

Temporal Score: 7.7

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/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:rocky:linux:grub2-tools-efi, p-cpe:/a:rocky:linux:grub2-tools-extra-debuginfo, p-cpe:/a:rocky:linux:grub2-efi-x64, p-cpe:/a:rocky:linux:grub2-tools-minimal-debuginfo, p-cpe:/a:rocky:linux:grub2-efi-aa64-modules, p-cpe:/a:rocky:linux:grub2-efi-x64-modules, p-cpe:/a:rocky:linux:grub2-ppc64le-modules, p-cpe:/a:rocky:linux:grub2-tools-minimal, p-cpe:/a:rocky:linux:grub2-efi-aa64, p-cpe:/a:rocky:linux:grub2-efi-aa64-cdboot, p-cpe:/a:rocky:linux:grub2-pc, p-cpe:/a:rocky:linux:grub2-pc-modules, p-cpe:/a:rocky:linux:grub2-tools-extra, p-cpe:/a:rocky:linux:grub2-efi-x64-cdboot, p-cpe:/a:rocky:linux:grub2-tools, p-cpe:/a:rocky:linux:grub2-tools-debuginfo, cpe:/o:rocky:linux:9, p-cpe:/a:rocky:linux:grub2-common, p-cpe:/a:rocky:linux:grub2-tools-efi-debuginfo

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/16/2023

Vulnerability Publication Date: 2/16/2023

Reference Information

CVE: CVE-2022-2601, CVE-2022-3775