CVE-2021-4212 Code injection in BIOS

Medium 6.7 Published Updated

An attacker with local elevated privileges can execute arbitrary code via a vulnerability in the Lenovo Notebook BIOS Legacy BIOS mode driver.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-4212?

CVE-2021-4212 is a medium-severity code injection vulnerability in Lenovo BIOS, published on 22 Apr 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A potential vulnerability in the SMI callback function used in the Legacy BIOS mode driver in some Lenovo Notebook models may allow an attacker with local access and elevated privileges to execute arbitrary code.

Weakness: CWE-20

Which versions are affected by CVE-2021-4212?

It affects 62 products.

Products include Lenovo C340-14iml Firmware, Lenovo C340-15iml Firmware, Lenovo D330-10igm Firmware, Lenovo Duet 3-10igl5 Firmware, Lenovo E41-50 Firmware, Lenovo Flex-14iml Firmware and 56 more.

How do I fix CVE-2021-4212?

No fix has been published for CVE-2021-4212 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2021-4212 being exploited?

There is no known exploitation of CVE-2021-4212 in the wild and no public exploit code.

Sources

Also known as GHSA-937r-586h-vgqf.

Is CVE-2021-4212 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free