Insecure Default Variable Initialization in SdHostDriver - CVE-2021-41840

 

Insecure Default Variable Initialization in SdHostDriver - CVE-2021-41840

Published: February 3, 2022


Vulnerability identifier: #VU60267
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-41840
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 variable EFI_BOOT_SERVICES. A remote authenticated attacker can overwrite the LocateProtocol or Freepool and execute arbitrary code on the system.


Affected software

SdHostDriver

How to mitigate CVE-2021-41840

Install updates from vendor's website.

SdHostDriver - addressed in versions 5.2: 05.23.35, 5.3: 05.32.35, 5.4: 05.40.35

External References

Related Security Bulletins