6.7medium
GRUB2 does not call the module fini functions on exit, leading to Debian/Ubuntu's peimage GRUB2 module leaving UEFI system table hooks afte…
- Severity
- 6.7medium CVSS:3.1 by canonical
- Exploit likelihood
- 0.40% (higher than 26% of CVEs)
- Published
- Last changed
- Assigned by
- canonical
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| grub2 | before 2.12-1ubuntu5 | CVE List |
| gnu grub2 | before 2.12-1ubuntu5 | CVE List, NVD |
| netapp bootstrap_os | Not specified | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
GRUB2 no llama a las funciones fini del módulo al salir, lo que hace que el módulo peimage GRUB2 de Debian/Ubuntu deje los ganchos de la tabla del sistema UEFI después de la salida. Esto conduce a una condición de use-after-free y posiblemente podría conducir a una omisión de arranque segura.
References
| https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2054127 | exploit, issue-tracking, patch | |
| https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2312 | issue-tracking, third-party-advisory | |
| https://security.netapp.com/advisory/ntap-20240426-0003/ | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-2312 changed 2025-02-13 | CVE Terms of Use |
| NVD | CVE-2024-2312 changed 2026-06-17 | Public domain |