Azure Linux 3.0 Security Update: grub2 (CVE-2025-0624)

high Nessus Plugin ID 241856

Synopsis

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

Description

The version of grub2 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-2025-0624 advisory.

- A flaw was found in grub2. During the network boot process, when trying to search for the configuration file, grub copies data from a user controlled environment variable into an internal buffer using the grub_strcpy() function. During this step, it fails to consider the environment variable length when allocating the internal buffer, resulting in an out-of-bounds write. If correctly exploited, this issue May result in remote code execution through the same network segment grub is searching for the boot information, which can be used to by-pass secure boot protections. (CVE-2025-0624)

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-2025-0624

Plugin Details

Severity: High

ID: 241856

File Name: azure_linux_CVE-2025-0624.nasl

Version: 1.1

Type: local

Published: 7/11/2025

Updated: 7/11/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 8.1

CVSS v2

Risk Factor: Medium

Base Score: 6.2

Temporal Score: 4.6

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

CVSS Score Source: CVE-2025-0624

CVSS v3

Risk Factor: High

Base Score: 7.6

Temporal Score: 6.6

Vector: CVSS:3.0/AV:A/AC:H/PR:H/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:microsoft:azure_linux:grub2, p-cpe:/a:microsoft:azure_linux:grub2-efi-binary-noprefix, p-cpe:/a:microsoft:azure_linux:grub2-efi-unsigned, x-cpe:/o:microsoft:azure_linux, p-cpe:/a:microsoft:azure_linux:grub2-efi-binary, p-cpe:/a:microsoft:azure_linux:grub2-rpm-macros, p-cpe:/a:microsoft:azure_linux:grub2-efi, p-cpe:/a:microsoft:azure_linux:grub2-pc, p-cpe:/a:microsoft:azure_linux:grub2-tools-minimal, p-cpe:/a:microsoft:azure_linux:grub2-configuration

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

Exploit Ease: No known exploits are available

Patch Publication Date: 7/8/2025

Vulnerability Publication Date: 2/19/2025

Reference Information

CVE: CVE-2025-0624

IAVA: 2024-A-0207