Bug 2257584 (CVE-2022-36765)

Summary: CVE-2022-36765 EDK2: integer overflow in CreateHob() could lead to HOB OOB R/W
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the CreateHob() function in EDK2. An attacker, leveraging a local network, can initiate an integer overflow leading to a buffer overflow. This issue arises during size alignment within the CreateHob() function, requiring activation in the PEI phase. Successful exploitation of this flaw poses a moderate threat to confidentiality and integrity, however, the primary consequence is likely a crash or denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2257592, 2257589    
Bug Blocks: 2257597    

Description TEJ RATHI 2024-01-10 06:12:15 UTC
EDK2 is susceptible to a vulnerability in the CreateHob() function, allowing a user to trigger a integer overflow to buffer overflow via a local network. Successful exploitation of this vulnerability may result in a compromise of confidentiality, integrity, and/or availability.

https://github.com/tianocore/edk2/security/advisories/GHSA-ch4w-v7m3-g8wx

Comment 1 TEJ RATHI 2024-01-10 06:36:04 UTC
Created edk2 tracking bugs for this issue:

Affects: epel-all [bug 2257592]
Affects: fedora-all [bug 2257589]

Comment 3 errata-xmlrpc 2024-05-22 09:35:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:3017 https://access.redhat.com/errata/RHSA-2024:3017

Comment 4 errata-xmlrpc 2024-07-23 16:22:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:4749 https://access.redhat.com/errata/RHSA-2024:4749