Insecure Default Variable Initialization in Insyde SdHostDriver driver

Published: 2022-02-03
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-41840
Exploitation vector Network
Public exploit N/A
Vulnerable software
Hardware solutions / Drivers


Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Insecure Default Variable Initialization

EUVDB-ID: #VU60267

Risk: Medium

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-41840

CWE-ID: CWE-453 - Insecure Default Variable Initialization

Exploit availability: No


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.


Install updates from vendor's website.

Vulnerable software versions

SdHostDriver: before 5.4: 05.40.35, 5.3: 05.32.35, 5.2: 05.23.35

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.