CVE-2023-4001Grub2: bypass the grub password protection feature
An authentication bypass flaw was found in GRUB due to the way that GRUB uses the UUID of a device to search for the configuration file that contains the password hash for the GRUB password protection feature. An attacker capable of attaching an external drive such as a USB stick containing a file system with a duplicate UUID (the same as in the "/boot/" file system) can bypass the GRUB password protection feature on UEFI systems, which enumerate removable drives before non-removable ones. This issue was introduced in a downstream patch in Red Hat's version of grub2 and does not affect the upstream package.
What to do
Fixed builds are available from AlmaLinux, Red Hat: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | grub2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | grub2-signed | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | grub2-unsigned | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | grub2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | grub2-signed | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | grub2-unsigned | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | grub2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | grub2-signed | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | grub2-unsigned | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | grub2 | Fix pending | ||
| Ubuntu 18.04 | grub2-signed | Fix pending | ||
| Ubuntu 18.04 | grub2-unsigned | Fix pending | ||
| Ubuntu 16.04 | grub2 | Fix pending | ||
| Ubuntu 16.04 | grub2-signed | Fix pending | ||
| Ubuntu 16.04 | grub2-unsigned | Fix pending | ||
| Ubuntu 14.04 | grub2-signed | Fix pending | UBUNTU-CVE-2023-4001 | |
| Red Hat Enterprise Linux 9 | grub2 | Fixed | 1:2.06-70.el9_3.2 | RHSA-2024:0468 |
| Red Hat Enterprise Linux 9 | grub2-common | Fixed | 1:2.06-70.el9_3.2 | RHSA-2024:0468 |
| Red Hat Enterprise Linux 9 | grub2-efi-aa64 | Fixed | 1:2.06-70.el9_3.2 | RHSA-2024:0468 |
| Red Hat Enterprise Linux 9 | grub2-efi-aa64-cdboot | Fixed | 1:2.06-70.el9_3.2 | RHSA-2024:0468 |
| Red Hat Enterprise Linux 9 | grub2-efi-aa64-modules | Fixed | 1:2.06-70.el9_3.2 | RHSA-2024:0468 |
| Red Hat Enterprise Linux 9 | grub2-efi-x64 | Fixed | 1:2.06-70.el9_3.2 | RHSA-2024:0468 |
| Red Hat Enterprise Linux 9 | grub2-efi-x64-cdboot | Fixed | 1:2.06-70.el9_3.2 | RHSA-2024:0468 |
| Red Hat Enterprise Linux 9 | grub2-efi-x64-modules | Fixed | 1:2.06-70.el9_3.2 | RHSA-2024:0468 |
| Red Hat Enterprise Linux 9 | grub2-pc | Fixed | 1:2.06-70.el9_3.2 | RHSA-2024:0468 |
| Red Hat Enterprise Linux 9 | grub2-pc-modules | Fixed | 1:2.06-70.el9_3.2 | RHSA-2024:0468 |
| Red Hat Enterprise Linux 9 | grub2-ppc64le | Fixed | 1:2.06-70.el9_3.2 | RHSA-2024:0468 |
| Red Hat Enterprise Linux 9 | grub2-ppc64le-modules | Fixed | 1:2.06-70.el9_3.2 | RHSA-2024:0468 |
| Red Hat Enterprise Linux 9 | grub2-tools | Fixed | 1:2.06-70.el9_3.2 | RHSA-2024:0468 |
| Red Hat Enterprise Linux 9 | grub2-tools-efi | Fixed | 1:2.06-70.el9_3.2 | RHSA-2024:0468 |
| Red Hat Enterprise Linux 9 | grub2-tools-extra | Fixed | 1:2.06-70.el9_3.2 | RHSA-2024:0468 |
| Red Hat Enterprise Linux 9 | grub2-tools-minimal | Fixed | 1:2.06-70.el9_3.2 | RHSA-2024:0468 |
| Red Hat Enterprise Linux 8 | grub2 | Not affected | ||
| Red Hat Enterprise Linux 8 | grub2-common | Not affected | ||
| Red Hat Enterprise Linux 8 | grub2-efi-aa64 | Not affected | ||
| Red Hat Enterprise Linux 8 | grub2-efi-aa64-cdboot | Not affected | ||
| Red Hat Enterprise Linux 8 | grub2-efi-aa64-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | grub2-efi-ia32 | Not affected | ||
| Red Hat Enterprise Linux 8 | grub2-efi-ia32-cdboot | Not affected | ||
| Red Hat Enterprise Linux 8 | grub2-efi-ia32-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | grub2-efi-x64 | Not affected | ||
| Red Hat Enterprise Linux 8 | grub2-efi-x64-cdboot | Not affected | ||
| Red Hat Enterprise Linux 8 | grub2-efi-x64-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | grub2-pc | Not affected | ||
| Red Hat Enterprise Linux 8 | grub2-pc-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | grub2-ppc64le | Not affected | ||
| Red Hat Enterprise Linux 8 | grub2-ppc64le-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | grub2-tools | Not affected | ||
| Red Hat Enterprise Linux 8 | grub2-tools-efi | Not affected | ||
| Red Hat Enterprise Linux 8 | grub2-tools-extra | Not affected | ||
| Red Hat Enterprise Linux 8 | grub2-tools-minimal | Not affected | ||
| AlmaLinux 9 | grub2-common | Fixed | 1:2.06-70.el9_3.2.alma.1 | ALSA-2024:0468 |
| AlmaLinux 9 | grub2-efi-aa64 | Fixed | 1:2.06-70.el9_3.2.alma.1 | ALSA-2024:0468 |
| AlmaLinux 9 | grub2-efi-aa64-cdboot | Fixed | 1:2.06-70.el9_3.2.alma.1 | ALSA-2024:0468 |
| AlmaLinux 9 | grub2-efi-aa64-modules | Fixed | 1:2.06-70.el9_3.2.alma.1 | ALSA-2024:0468 |
| AlmaLinux 9 | grub2-efi-x64 | Fixed | 1:2.06-70.el9_3.2.alma.1 | ALSA-2024:0468 |
| AlmaLinux 9 | grub2-efi-x64-cdboot | Fixed | 1:2.06-70.el9_3.2.alma.1 | ALSA-2024:0468 |
| AlmaLinux 9 | grub2-efi-x64-modules | Fixed | 1:2.06-70.el9_3.2.alma.1 | ALSA-2024:0468 |
| AlmaLinux 9 | grub2-pc | Fixed | 1:2.06-70.el9_3.2.alma.1 | ALSA-2024:0468 |
| AlmaLinux 9 | grub2-pc-modules | Fixed | 1:2.06-70.el9_3.2.alma.1 | ALSA-2024:0468 |
| AlmaLinux 9 | grub2-ppc64le | Fixed | 1:2.06-70.el9_3.2.alma.1 | ALSA-2024:0468 |
| AlmaLinux 9 | grub2-ppc64le-modules | Fixed | 1:2.06-70.el9_3.2.alma.1 | ALSA-2024:0468 |
| AlmaLinux 9 | grub2-tools | Fixed | 1:2.06-70.el9_3.2.alma.1 | ALSA-2024:0468 |
| AlmaLinux 9 | grub2-tools-efi | Fixed | 1:2.06-70.el9_3.2.alma.1 | ALSA-2024:0468 |
| AlmaLinux 9 | grub2-tools-extra | Fixed | 1:2.06-70.el9_3.2.alma.1 | ALSA-2024:0468 |
| AlmaLinux 9 | grub2-tools-minimal | Fixed | 1:2.06-70.el9_3.2.alma.1 | ALSA-2024:0468 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 9.0 Extended Update Support
- Red Hat Enterprise Linux 9.2 Extended Update Support
- Red Hat Enterprise Linux 8
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2024:0437 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:0456 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:0468 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2024:0437
- https://access.redhat.com/errata/RHSA-2024:0456
- https://access.redhat.com/errata/RHSA-2024:0468
- https://access.redhat.com/security/cve/CVE-2023-4001
- https://bugzilla.redhat.com/show_bug.cgi?id=2224951
- https://dfir.ru/2024/01/15/cve-2023-4001-a-vulnerability-in-the-downstream-grub-boot-manager/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.