Bug 2236613 (CVE-2023-4692)

Summary: CVE-2023-4692 grub2: Out-of-bounds write at fs/ntfs.c may lead to unsigned code execution
Product: [Other] Security Response Reporter: Marco Benatto <mbenatto>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: jaredz, mlewando, pjanda, pjones, pkotvan, rharwood, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds write flaw was found in grub2's NTFS filesystem driver. This issue may allow an attacker to present a specially crafted NTFS filesystem image, leading to grub's heap metadata corruption. In some circumstances, the attack may also corrupt the UEFI firmware heap metadata. As a result, arbitrary code execution and secure boot protection bypass may be achieved.
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: 2241978    
Bug Blocks: 2193203    

Description Marco Benatto 2023-08-31 22:03:12 UTC
There is an out-of-bounds write in fs/ntfs.c, an attacker may leverage this vulnerability by presenting a specially crafted NTFS filesystem image leading to grub's heap metadata corruption. Additionally, in some circumstances, the attack may also corrupt the UEFI firmware heap metadata. As a result arbitrary code execution and secure boot protection bypass may be achieved.

Comment 2 Marco Benatto 2023-10-03 17:56:07 UTC
Created grub2 tracking bugs for this issue:

Affects: fedora-all [bug 2241978]

Comment 3 Marco Benatto 2023-10-03 18:13:32 UTC
Upstream patch for this issue:
https://lists.gnu.org/archive/html/grub-devel/2023-10/msg00029.html

Comment 4 Marta Lewandowska 2024-03-25 08:27:58 UTC
This is duplicating https://issues.redhat.com/browse/RHEL-11567 which is already set to RELEASE PENDING. I believe this can be closed.

Comment 5 errata-xmlrpc 2024-04-30 10:54:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 6 errata-xmlrpc 2024-05-22 10:15:48 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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