Insecure Default Variable Initialization in AhciBusDxe - CVE-2021-41841

 

Insecure Default Variable Initialization in AhciBusDxe - CVE-2021-41841

Published: February 3, 2022


Vulnerability identifier: #VU60266
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2021-41841
CWE-ID: CWE-453
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Insyde Software
Affected software:
AhciBusDxe

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to the SMM (System Management Mode) branch that registers a SWSMI handler does not sufficiently check or validate the allocated table variables EFI_BOOT_SERVICES and EFI_RUNTIME_SERVICES. A remote attacker can overwrite address location of the LocateHandleBuffer function and execute arbitrary code on the system.


How to mitigate CVE-2021-41841

Install updates from vendor's website.

Sources