CVE-2021-28211 Memory corruption in EDK II

Medium 6.7 Published Updated

A heap overflow in EDK II allows attackers to execute arbitrary code or escalate privileges during firmware decompression.

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-28211?

CVE-2021-28211 is a medium-severity memory corruption vulnerability in TianoCore EDK II, published on 11 Jun 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A heap overflow in LzmaUefiDecompressGetInfo function in EDK II.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2021-28211?

It affects 1 product.

Linux distribution packages (4)
edk2 Red Hat:enterprise_linux:8::appstreamAll versions0:20200602gitca407c7246bf-4.el8_4.1
edk2-aarch64 Red Hat:enterprise_linux:8::appstreamAll versions0:20200602gitca407c7246bf-4.el8_4.1
edk2-ovmf Red Hat:enterprise_linux:8::appstreamAll versions0:20200602gitca407c7246bf-4.el8_4.1
edk2 Rocky Linux:8All versions0:20200602gitca407c7246bf-4.el8_4.1

Products include Tianocore Edk2.

How do I fix CVE-2021-28211?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-28211 being exploited?

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

Sources

Also known as DEBIAN-CVE-2021-28211, GHSA-9f7r-6p3j-j5wj, OESA-2021-1338, RHSA-2021:2591, RLSA-2021:2591, UBUNTU-CVE-2021-28211.

Is CVE-2021-28211 in your software?

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

Check your SBOMs for free