Vulnerability · Published Oct 25, 2023 · Assigned by redhat

CVE-2023-4692Grub2: out-of-bounds write at fs/ntfs.c may lead to unsigned code execution

High 7.5

In plain English

A high-severity heap buffer overflow in grub. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 54.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8grub2-common1:2.02-156.el8.alma.1ALSA-2024:3184
AlmaLinux:9grub2-common1:2.06-77.el9.alma.1ALSA-2024:2456
AlmaLinux:8grub2-efi-aa641:2.02-156.el8.alma.1ALSA-2024:3184
AlmaLinux:9grub2-efi-aa641:2.06-77.el9.alma.1ALSA-2024:2456
AlmaLinux:8grub2-efi-aa64-cdboot1:2.02-156.el8.alma.1ALSA-2024:3184
AlmaLinux:9grub2-efi-aa64-cdboot1:2.06-77.el9.alma.1ALSA-2024:2456
AlmaLinux:8grub2-efi-aa64-modules1:2.02-156.el8.alma.1ALSA-2024:3184
AlmaLinux:9grub2-efi-aa64-modules1:2.06-77.el9.alma.1ALSA-2024:2456
AlmaLinux:8grub2-efi-ia321:2.02-156.el8.alma.1ALSA-2024:3184
AlmaLinux:8grub2-efi-ia32-cdboot1:2.02-156.el8.alma.1ALSA-2024:3184
AlmaLinux:8grub2-efi-ia32-modules1:2.02-156.el8.alma.1ALSA-2024:3184
AlmaLinux:8grub2-efi-x641:2.02-156.el8.alma.1ALSA-2024:3184
AlmaLinux:9grub2-efi-x641:2.06-77.el9.alma.1ALSA-2024:2456
AlmaLinux:8grub2-efi-x64-cdboot1:2.02-156.el8.alma.1ALSA-2024:3184
AlmaLinux:9grub2-efi-x64-cdboot1:2.06-77.el9.alma.1ALSA-2024:2456
AlmaLinux:8grub2-efi-x64-modules1:2.02-156.el8.alma.1ALSA-2024:3184
AlmaLinux:9grub2-efi-x64-modules1:2.06-77.el9.alma.1ALSA-2024:2456
AlmaLinux:8grub2-pc1:2.02-156.el8.alma.1ALSA-2024:3184
AlmaLinux:9grub2-pc1:2.06-77.el9.alma.1ALSA-2024:2456
AlmaLinux:8grub2-pc-modules1:2.02-156.el8.alma.1ALSA-2024:3184
AlmaLinux:9grub2-pc-modules1:2.06-77.el9.alma.1ALSA-2024:2456
AlmaLinux:8grub2-ppc64le1:2.02-156.el8.alma.1ALSA-2024:3184
AlmaLinux:9grub2-ppc64le1:2.06-77.el9.alma.1ALSA-2024:2456
AlmaLinux:8grub2-ppc64le-modules1:2.02-156.el8.alma.1ALSA-2024:3184
AlmaLinux:9grub2-ppc64le-modules1:2.06-77.el9.alma.1ALSA-2024:2456
AlmaLinux:8grub2-tools1:2.02-156.el8.alma.1ALSA-2024:3184
AlmaLinux:9grub2-tools1:2.06-77.el9.alma.1ALSA-2024:2456
AlmaLinux:8grub2-tools-efi1:2.02-156.el8.alma.1ALSA-2024:3184
AlmaLinux:9grub2-tools-efi1:2.06-77.el9.alma.1ALSA-2024:2456
AlmaLinux:8grub2-tools-extra1:2.02-156.el8.alma.1ALSA-2024:3184
AlmaLinux:9grub2-tools-extra1:2.06-77.el9.alma.1ALSA-2024:2456
AlmaLinux:8grub2-tools-minimal1:2.02-156.el8.alma.1ALSA-2024:3184
AlmaLinux:9grub2-tools-minimal1:2.06-77.el9.alma.1ALSA-2024:2456
Debian:12grub22.06-13+deb12u1DSA-5519-1
Debian:12grub22.06-13+deb12u1DEBIAN-CVE-2023-4692
Debian:13grub22.12~rc1-11DEBIAN-CVE-2023-4692
Debian:14grub22.12~rc1-11DEBIAN-CVE-2023-4692
Rocky Linux:8grub21:2.02-156.el8.rocky.0.1RLSA-2024:3184
Ubuntu:22.04:LTSgrub2-signed1.187.6USN-6410-1
Ubuntu:22.04:LTSgrub2-signed1.187.6UBUNTU-CVE-2023-4692
Ubuntu:24.04:LTSgrub2-signed1.197UBUNTU-CVE-2023-4692
Ubuntu:22.04:LTSgrub2-unsigned2.06-2ubuntu14.4USN-6410-1
Ubuntu:22.04:LTSgrub2-unsigned2.06-2ubuntu14.4UBUNTU-CVE-2023-4692
Ubuntu:24.04:LTSgrub2-unsigned2.12~rc1-10ubuntu4UBUNTU-CVE-2023-4692

Affected products (as reported)

VendorProductVersions
grub see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 7 see references

Weakness: CWE-122 · Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

References