Use After Free in GNU Grub2
CVE-2022-28736
There's a use-after-free vulnerability in grub_cmd_chainloader() function; The chainloader command is used to boot up operating systems that doesn't support multiboot and do not have direct support from GRUB2. When executing chainloader more than once a use-after-free vulnerability is triggered. If an attacker can control the GRUB2's memory allocation pattern sensitive data may be exposed and arbitrary code execution can be achieved.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 21.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNU Grub2
- GNU Project Grub — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 18 other repositories (ARPSyndicate/cvemon, baramundisoftware/ShimReview_2024, coreyvelan/shim-review, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.openwall.com/lists/oss-security/2022/06/07/5 (mailing-list, Mailing List, Third Party Advisory)
- cve.mitre.org/cgi-bin/cvename.cgi (issue-tracking, Third Party Advisory)
- security.netapp.com/advisory/ntap-20230825-0002/