CVE Vulnerabilities

CVE-2024-45775

Unchecked Return Value

Published: Feb 18, 2025 | Modified: Feb 18, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
5.2 MODERATE
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H
Ubuntu
MEDIUM

A flaw was found in grub2 where the grub_extcmd_dispatcher() function calls grub_arg_list_alloc() to allocate memory for the grubs 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.

Weakness

The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.

Affected Software

Name Vendor Start Version End Version
Grub2 Ubuntu esm-infra-legacy/trusty *
Grub2-signed Ubuntu esm-infra-legacy/trusty *

Potential Mitigations

References