漏洞标题
Grub2: commands/extcmd 模块中缺少分配失败检查
漏洞描述信息
在grub2中发现了一个漏洞,该漏洞涉及到grub_extcmd_dispatcher()函数调用grub_arg_list_alloc()来为grub的参数列表分配内存。然而,它未能检查内存分配是否失败。一旦内存分配失败,parse_option()函数将处理一个空指针,导致grub崩溃,或者在某些罕见情况下,破坏IVT数据。
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
漏洞类别
空指针解引用
漏洞标题
Grub2: commands/extcmd: missing check for failed allocation
漏洞描述信息
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信息
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H
漏洞类别
未加检查的返回值