Skip to content
5.2 Medium

CVE-2024-45775 Grub2: commands/extcmd: missing check for failed allocation

Description

A flaw was found in grub2 where the grub_extcmd_dispatcher() function calls grub_arg_list_alloc() to allocate memory for the grub's argument list. However, it fails to check in case the memory allocation fails. Once the allocation fails, a NULL point will be processed by the parse_option() function, leading grub to crash or, in some rare scenarios, corrupt the IVT data.

CVSS 3.1 detail

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

Exploitable with local access to the machine, with an administrator account and without any user action; an attacker can seriously compromise confidentiality, integrity or availability.

Attack vector
Local
Attack complexity
High
Privileges required
High
Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
High

Affected products and versions

Product Affected versions Fixed in
Red Hat Enterprise Linux 9 Versions not published
Red Hat Enterprise Linux 10 Versions not published
Red Hat Enterprise Linux 7 Versions not published
Red Hat Enterprise Linux 8 Versions not published
Red Hat OpenShift Container Platform 4 Versions not published
The 1865 CVEs of Red Hat Enterprise Linux 9 →
Track this CVE