CVEfocus › CVE database › CVE-2024-2312

CVE-2024-2312

CVSS 6.7 MediumEPSS 0.4% (higher than 26% of CVEs)Published 2024-04-05Updated 2025-02-13Assigner: canonical

GRUB2 does not call the module fini functions on exit, leading to Debian/Ubuntu's peimage GRUB2 module leaving UEFI system table hooks after exit. This lead to a use-after-free condition, and could possibly lead to secure boot bypass.

CWE-416

What to do

Fixed builds are available from Debian, Ubuntu: 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

4Fixed
8Fix pending
79Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04grub2Not affected
vulnerable_code_not_present
Ubuntu 24.04grub2-signedFixed1.202UBUNTU-CVE-2024-2312
Ubuntu 24.04grub2-unsignedFixed2.12-1ubuntu7UBUNTU-CVE-2024-2312
Ubuntu 22.04grub2Not affected
vulnerable_code_not_present
Ubuntu 22.04grub2-signedNot affected
vulnerable_code_not_present
Ubuntu 22.04grub2-unsignedNot affected
vulnerable_code_not_present
Ubuntu 20.04grub2Not affected
vulnerable_code_not_present
Ubuntu 20.04grub2-signedNot affected
vulnerable_code_not_present
Ubuntu 20.04grub2-unsignedNot affected
vulnerable_code_not_present
Ubuntu 18.04grub2Fix pending
Ubuntu 18.04grub2-signedFix pending
Ubuntu 18.04grub2-unsignedFix pending
Ubuntu 16.04grub2Fix pending
Ubuntu 16.04grub2-signedFix pending
Ubuntu 16.04grub2-unsignedFix pending
Ubuntu 14.04grub2Fix pendingUBUNTU-CVE-2024-2312
Ubuntu 14.04grub2-signedFix pendingUBUNTU-CVE-2024-2312
Debian 14grub2Fixed2.12-2DEBIAN-CVE-2024-2312
Debian 13grub2Fixed2.12-2DEBIAN-CVE-2024-2312
Red Hat Enterprise Linux 10grub2Not affected
Red Hat Enterprise Linux 10grub2-commonNot affected
Red Hat Enterprise Linux 10grub2-efi-aa64Not affected
Red Hat Enterprise Linux 10grub2-efi-aa64-cdbootNot affected
Red Hat Enterprise Linux 10grub2-efi-aa64-modulesNot affected
Red Hat Enterprise Linux 10grub2-efi-x64Not affected
Red Hat Enterprise Linux 10grub2-efi-x64-cdbootNot affected
Red Hat Enterprise Linux 10grub2-efi-x64-modulesNot affected
Red Hat Enterprise Linux 10grub2-pcNot affected
Red Hat Enterprise Linux 10grub2-pc-modulesNot affected
Red Hat Enterprise Linux 10grub2-ppc64leNot affected
Red Hat Enterprise Linux 10grub2-ppc64le-modulesNot affected
Red Hat Enterprise Linux 10grub2-toolsNot affected
Red Hat Enterprise Linux 10grub2-tools-efiNot affected
Red Hat Enterprise Linux 10grub2-tools-extraNot affected
Red Hat Enterprise Linux 10grub2-tools-minimalNot affected
Red Hat Enterprise Linux 9grub2Not affected
Red Hat Enterprise Linux 9grub2-commonNot affected
Red Hat Enterprise Linux 9grub2-efi-aa64Not affected
Red Hat Enterprise Linux 9grub2-efi-aa64-cdbootNot affected
Red Hat Enterprise Linux 9grub2-efi-aa64-modulesNot affected
Red Hat Enterprise Linux 9grub2-efi-x64Not affected
Red Hat Enterprise Linux 9grub2-efi-x64-cdbootNot affected
Red Hat Enterprise Linux 9grub2-efi-x64-modulesNot affected
Red Hat Enterprise Linux 9grub2-pcNot affected
Red Hat Enterprise Linux 9grub2-pc-modulesNot affected
Red Hat Enterprise Linux 9grub2-ppc64leNot affected
Red Hat Enterprise Linux 9grub2-ppc64le-modulesNot affected
Red Hat Enterprise Linux 9grub2-toolsNot affected
Red Hat Enterprise Linux 9grub2-tools-efiNot affected
Red Hat Enterprise Linux 9grub2-tools-extraNot affected
Red Hat Enterprise Linux 9grub2-tools-minimalNot affected
Red Hat Enterprise Linux 8grub2Not affected
Red Hat Enterprise Linux 8grub2-commonNot affected
Red Hat Enterprise Linux 8grub2-efi-aa64Not affected
Red Hat Enterprise Linux 8grub2-efi-aa64-cdbootNot affected
Red Hat Enterprise Linux 8grub2-efi-aa64-modulesNot affected
Red Hat Enterprise Linux 8grub2-efi-ia32Not affected
Red Hat Enterprise Linux 8grub2-efi-ia32-cdbootNot affected
Red Hat Enterprise Linux 8grub2-efi-ia32-modulesNot affected
Red Hat Enterprise Linux 8grub2-efi-x64Not affected
Red Hat Enterprise Linux 8grub2-efi-x64-cdbootNot affected
Red Hat Enterprise Linux 8grub2-efi-x64-modulesNot affected
Red Hat Enterprise Linux 8grub2-pcNot affected
Red Hat Enterprise Linux 8grub2-pc-modulesNot affected
Red Hat Enterprise Linux 8grub2-ppc64leNot affected
Red Hat Enterprise Linux 8grub2-ppc64le-modulesNot affected
Red Hat Enterprise Linux 8grub2-toolsNot affected
Red Hat Enterprise Linux 8grub2-tools-efiNot affected
Red Hat Enterprise Linux 8grub2-tools-extraNot affected
Red Hat Enterprise Linux 8grub2-tools-minimalNot affected
Red Hat Enterprise Linux 7grub2Not affected
Red Hat Enterprise Linux 7grub2-commonNot affected
Red Hat Enterprise Linux 7grub2-efiNot affected
Red Hat Enterprise Linux 7grub2-efi-aa64-modulesNot affected
Red Hat Enterprise Linux 7grub2-efi-ia32Not affected
Red Hat Enterprise Linux 7grub2-efi-ia32-cdbootNot affected
Red Hat Enterprise Linux 7grub2-efi-ia32-modulesNot affected
Red Hat Enterprise Linux 7grub2-efi-modulesNot affected
Red Hat Enterprise Linux 7grub2-efi-x64Not affected
Red Hat Enterprise Linux 7grub2-efi-x64-cdbootNot affected
Red Hat Enterprise Linux 7grub2-efi-x64-modulesNot affected
Red Hat Enterprise Linux 7grub2-pcNot affected
Red Hat Enterprise Linux 7grub2-pc-modulesNot affected
Red Hat Enterprise Linux 7grub2-ppc-modulesNot affected
Red Hat Enterprise Linux 7grub2-ppc64Not affected
Red Hat Enterprise Linux 7grub2-ppc64-modulesNot affected
Red Hat Enterprise Linux 7grub2-ppc64leNot affected
Red Hat Enterprise Linux 7grub2-ppc64le-modulesNot affected
Red Hat Enterprise Linux 7grub2-toolsNot affected
Red Hat Enterprise Linux 7grub2-tools-extraNot affected
Red Hat Enterprise Linux 7grub2-tools-minimalNot affected

What the vendor says

As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

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.