CVE-2024-2312

NameCVE-2024-2312
DescriptionGRUB2 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
grub2 (PTS)jessie, jessie (lts)2.02~beta2-22+deb8u2vulnerable
stretch (lts), stretch2.02~beta3-5+deb9u3vulnerable
buster (security), buster, buster (lts)2.06-3~deb10u4fixed
bullseye (security), bullseye2.06-3~deb11u6fixed
bookworm (security), bookworm2.06-13+deb12u1fixed
sid, trixie2.12-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
grub2sourcebuster(not affected)
grub2sourcebullseye(not affected)
grub2sourcebookworm(not affected)
grub2source(unstable)2.12-2

Notes

[bookworm] - grub2 <not-affected> (Vulnerable code not present)
[bullseye] - grub2 <not-affected> (Vulnerable code not present)
[buster] - grub2 <not-affected> (Vulnerable code not present)
https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2054127
[stretch] - grub2 <ignored> (No SecureBoot support in jessie)
[jessie] - grub2 <ignored> (No SecureBoot support in jessie)

Search for package or bug name: Reporting problems