CVE-2021-38578 Integer overflow in EDK II

High 7.4 Published Updated

An integer underflow in EDK II SmmEntryPoint allows attackers to bypass buffer checks, potentially leading to code execution or privilege escalation.

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

What is CVE-2021-38578?

CVE-2021-38578 is a high-severity vulnerability in TianoCore EDK II, published on 3 Mar 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Existing CommBuffer checks in SmmEntryPoint will not catch underflow when computing BufferSize.

Weakness: CWE-787, CWE-124

Which versions are affected by CVE-2021-38578?

It affects 2 products.

Linux distribution packages (1)
ovmf openSUSE:TumbleweedAll versions202211-1.1

Products include Insyde Kernel, Tianocore Edk2.

How do I fix CVE-2021-38578?

Apply the vendor's patch.

Is CVE-2021-38578 being exploited?

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

Sources

Also known as DEBIAN-CVE-2021-38578, GHSA-grqq-3jqg-g95p, OESA-2022-2122, UBUNTU-CVE-2021-38578, openSUSE-SU-2024:12542-1.

Is CVE-2021-38578 in your software?

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

Check your SBOMs for free