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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | grub2-common | 1:2.02-156.el8.alma.1 | ALSA-2024:3184 |
| AlmaLinux:9 | grub2-common | 1:2.06-77.el9.alma.1 | ALSA-2024:2456 |
| AlmaLinux:8 | grub2-efi-aa64 | 1:2.02-156.el8.alma.1 | ALSA-2024:3184 |
| AlmaLinux:9 | grub2-efi-aa64 | 1:2.06-77.el9.alma.1 | ALSA-2024:2456 |
| AlmaLinux:8 | grub2-efi-aa64-cdboot | 1:2.02-156.el8.alma.1 | ALSA-2024:3184 |
| AlmaLinux:9 | grub2-efi-aa64-cdboot | 1:2.06-77.el9.alma.1 | ALSA-2024:2456 |
| AlmaLinux:8 | grub2-efi-aa64-modules | 1:2.02-156.el8.alma.1 | ALSA-2024:3184 |
| AlmaLinux:9 | grub2-efi-aa64-modules | 1:2.06-77.el9.alma.1 | ALSA-2024:2456 |
| AlmaLinux:8 | grub2-efi-ia32 | 1:2.02-156.el8.alma.1 | ALSA-2024:3184 |
| AlmaLinux:8 | grub2-efi-ia32-cdboot | 1:2.02-156.el8.alma.1 | ALSA-2024:3184 |
| AlmaLinux:8 | grub2-efi-ia32-modules | 1:2.02-156.el8.alma.1 | ALSA-2024:3184 |
| AlmaLinux:8 | grub2-efi-x64 | 1:2.02-156.el8.alma.1 | ALSA-2024:3184 |
| AlmaLinux:9 | grub2-efi-x64 | 1:2.06-77.el9.alma.1 | ALSA-2024:2456 |
| AlmaLinux:8 | grub2-efi-x64-cdboot | 1:2.02-156.el8.alma.1 | ALSA-2024:3184 |
| AlmaLinux:9 | grub2-efi-x64-cdboot | 1:2.06-77.el9.alma.1 | ALSA-2024:2456 |
| AlmaLinux:8 | grub2-efi-x64-modules | 1:2.02-156.el8.alma.1 | ALSA-2024:3184 |
| AlmaLinux:9 | grub2-efi-x64-modules | 1:2.06-77.el9.alma.1 | ALSA-2024:2456 |
| AlmaLinux:8 | grub2-pc | 1:2.02-156.el8.alma.1 | ALSA-2024:3184 |
| AlmaLinux:9 | grub2-pc | 1:2.06-77.el9.alma.1 | ALSA-2024:2456 |
| AlmaLinux:8 | grub2-pc-modules | 1:2.02-156.el8.alma.1 | ALSA-2024:3184 |
| AlmaLinux:9 | grub2-pc-modules | 1:2.06-77.el9.alma.1 | ALSA-2024:2456 |
| AlmaLinux:8 | grub2-ppc64le | 1:2.02-156.el8.alma.1 | ALSA-2024:3184 |
| AlmaLinux:9 | grub2-ppc64le | 1:2.06-77.el9.alma.1 | ALSA-2024:2456 |
| AlmaLinux:8 | grub2-ppc64le-modules | 1:2.02-156.el8.alma.1 | ALSA-2024:3184 |
| AlmaLinux:9 | grub2-ppc64le-modules | 1:2.06-77.el9.alma.1 | ALSA-2024:2456 |
| AlmaLinux:8 | grub2-tools | 1:2.02-156.el8.alma.1 | ALSA-2024:3184 |
| AlmaLinux:9 | grub2-tools | 1:2.06-77.el9.alma.1 | ALSA-2024:2456 |
| AlmaLinux:8 | grub2-tools-efi | 1:2.02-156.el8.alma.1 | ALSA-2024:3184 |
| AlmaLinux:9 | grub2-tools-efi | 1:2.06-77.el9.alma.1 | ALSA-2024:2456 |
| AlmaLinux:8 | grub2-tools-extra | 1:2.02-156.el8.alma.1 | ALSA-2024:3184 |
| AlmaLinux:9 | grub2-tools-extra | 1:2.06-77.el9.alma.1 | ALSA-2024:2456 |
| AlmaLinux:8 | grub2-tools-minimal | 1:2.02-156.el8.alma.1 | ALSA-2024:3184 |
| AlmaLinux:9 | grub2-tools-minimal | 1:2.06-77.el9.alma.1 | ALSA-2024:2456 |
| Debian:12 | grub2 | 2.06-13+deb12u1 | DSA-5519-1 |
| Debian:12 | grub2 | 2.06-13+deb12u1 | DEBIAN-CVE-2023-4692 |
| Debian:13 | grub2 | 2.12~rc1-11 | DEBIAN-CVE-2023-4692 |
| Debian:14 | grub2 | 2.12~rc1-11 | DEBIAN-CVE-2023-4692 |
| Rocky Linux:8 | grub2 | 1:2.02-156.el8.rocky.0.1 | RLSA-2024:3184 |
| Ubuntu:22.04:LTS | grub2-signed | 1.187.6 | USN-6410-1 |
| Ubuntu:22.04:LTS | grub2-signed | 1.187.6 | UBUNTU-CVE-2023-4692 |
| Ubuntu:24.04:LTS | grub2-signed | 1.197 | UBUNTU-CVE-2023-4692 |
| Ubuntu:22.04:LTS | grub2-unsigned | 2.06-2ubuntu14.4 | USN-6410-1 |
| Ubuntu:22.04:LTS | grub2-unsigned | 2.06-2ubuntu14.4 | UBUNTU-CVE-2023-4692 |
| Ubuntu:24.04:LTS | grub2-unsigned | 2.12~rc1-10ubuntu4 | UBUNTU-CVE-2023-4692 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- RHSA-2024:2456 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:3184 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-4692 vdb-entry, x_refsource_REDHAT
- RHBZ#2236613 issue-tracking, x_refsource_REDHAT
- https://dfir.ru/2023/10/03/cve-2023-4692-cve-2023-4693-vulnerabilities-in-the-grub-boot-manager/
- https://lists.gnu.org/archive/html/grub-devel/2023-10/msg00028.html
- https://seclists.org/oss-sec/2023/q4/37
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FUU42E7CPYLATXOYVYNW6YTXXULAOV6L/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OIRJ5UZRXX2KLR4IKBJEQUNGOCXMMDLY/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PERFILCHFEUGG3OAMC6W55P6DDIBZK4Q/ x_transferred
- https://security.gentoo.org/glsa/202311-14 x_transferred
- https://security.netapp.com/advisory/ntap-20231208-0002/ x_transferred
- https://lists.debian.org/debian-lts-announce/2023/10/msg00007.html