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)bullseye (security), bullseye2.06-3~deb11u6fixed
bookworm, bookworm (security)2.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

Search for package or bug name: Reporting problems