CVE Vulnerabilities

CVE-2021-28216

Release of Invalid Pointer or Reference

Published: Aug 05, 2021 | Modified: Aug 16, 2021
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
4.6 MEDIUM
AV:L/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
LOW

BootPerformanceTable pointer is read from an NVRAM variable in PEI. Recommend setting PcdFirmwarePerformanceDataTableS3Support to FALSE.

Weakness

The product attempts to return a memory resource to the system, but it calls the wrong release function or calls the appropriate release function incorrectly.

Affected Software

Name Vendor Start Version End Version
Edk_ii Tianocore - (including) - (including)
Edk2 Ubuntu bionic *
Edk2 Ubuntu esm-apps/bionic *
Edk2 Ubuntu focal *
Edk2 Ubuntu hirsute *
Edk2 Ubuntu impish *
Edk2 Ubuntu trusty *
Edk2 Ubuntu xenial *

Extended Description

This weakness can take several forms, such as:

Potential Mitigations

  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • For example, glibc in Linux provides protection against free of invalid pointers.

References