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: 9.3 [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]
CVE-ID: CVE-2021-41841
CWE-ID: CWE-453
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

AhciBusDxe

How to mitigate CVE-2021-41841

Install updates from vendor's website.

AhciBusDxe - addressed in versions 5.0: 05.08.29, 5.1: 05.16.29, 5.2: 05.26.29, 5.3: 05.35.29, 5.4: 05.43.29, 5.5: 05.51.29

External References

Related Security Bulletins