{"id":"CVE-2024-2312","state":"PUBLISHED","title":"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 con","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.","publishedAt":"2024-04-05T19:40:02.848Z","updatedAt":"2025-02-13T17:33:46.314Z","severity":{"score":6.7,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"canonical"},"assigner":"canonical","products":["Debian Debian based GNU GRUB"],"affected":[{"vendor":"Debian","product":"Debian based GNU GRUB","packageName":"grub2","versions":[{"version":"0","status":"affected","lessThan":"2.12-1ubuntu5","versionType":"semver"}],"repo":"https://git.savannah.gnu.org/cgit/grub.git","platforms":["Linux"]}],"references":["https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2054127","https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2312","https://security.netapp.com/advisory/ntap-20240426-0003/"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/2xxx/CVE-2024-2312.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-2312","state":"PUBLISHED","datePublished":"2024-04-05T19:40:02.848Z","dateUpdated":"2025-02-13T17:33:46.314Z","assignerShortName":"canonical","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateReserved":"2024-03-07T23:53:27.661Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"Debian","product":"Debian based GNU GRUB","packageName":"grub2","versions":[{"version":"0","status":"affected","lessThan":"2.12-1ubuntu5","versionType":"semver"}],"repo":"https://git.savannah.gnu.org/cgit/grub.git","platforms":["Linux"]}],"references":[{"url":"https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2054127","tags":["issue-tracking"]},{"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2312","tags":["issue-tracking"]},{"url":"https://security.netapp.com/advisory/ntap-20240426-0003/"}],"metrics":[{"format":"CVSS","cvssV3_1":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","baseScore":6.7,"baseSeverity":"MEDIUM"}}],"providerMetadata":{"shortName":"canonical","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateUpdated":"2024-04-26T09:06:32.801Z"},"credits":[{"lang":"en","type":"finder","value":"Mate Kukri"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2054127","tags":["issue-tracking","x_transferred"]},{"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2312","tags":["issue-tracking","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20240426-0003/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T19:11:52.852Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"gnu","product":"grub2","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"2.12-1ubuntu5","versionType":"semver"}],"cpes":["cpe:2.3:a:gnu:grub2:-:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-21T15:39:12.205993Z","id":"CVE-2024-2312","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","type":"CWE","lang":"en","description":"CWE-416 Use After Free"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-29T17:44:12.763Z"}}]}}}