Bug 1960321 (CVE-2021-38578) - CVE-2021-38578 edk2: integer underflow in SmmEntryPoint function leads to potential SMM privilege escalation
Summary: CVE-2021-38578 edk2: integer underflow in SmmEntryPoint function leads to pot...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-38578
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1989856 2096378 1989857 2096379
Blocks: 1959708
TreeView+ depends on / blocked
 
Reported: 2021-05-13 16:32 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-05-09 14:45 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in edk2. A integer underflow in the SmmEntryPoint function leads to a write into the SMM region allowing a local attacker with administration privileges on the system to execute code within the SMM privileged context. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Clone Of:
Environment:
Last Closed: 2023-05-09 14:45:53 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:2165 0 None None None 2023-05-09 07:13:12 UTC

Description Guilherme de Almeida Suckevicz 2021-05-13 16:32:19 UTC
Existing CommBuffer checks in SmmEntryPoint will not catch underflow when computing BufferSize.

Reference:
https://bugzilla.tianocore.org/show_bug.cgi?id=3387

Comment 5 Mauro Matteo Cascella 2022-06-13 16:39:29 UTC
Created edk2 tracking bugs for this issue:

Affects: epel-7 [bug 2096378]
Affects: fedora-all [bug 2096379]

Comment 6 Gerd Hoffmann 2022-06-14 11:59:28 UTC
https://edk2.groups.io/g/devel/message/90516

Comment 8 errata-xmlrpc 2023-05-09 07:13:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:2165 https://access.redhat.com/errata/RHSA-2023:2165

Comment 9 Product Security DevOps Team 2023-05-09 14:45:50 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-38578


Note You need to log in before you can comment on or make changes to this bug.