What’s Vulnerable › Vulnerabilities

CVE-2020-15706: GRUB2 contains a race condition leading to a use-after-free vulnerability which can be triggered by redefining a function whilst the same function is already executing.

Description

GRUB2 contains a race condition in grub_script_function_create() leading to a use-after-free vulnerability which can be triggered by redefining a function whilst the same function is already executing, leading to arbitrary code execution and secure boot restriction bypass. This issue affects GRUB2 version 2.04 and prior versions.

Affected products

How to fix

Upgrade to a fixed version: Ubuntu grub2 in Ubuntu 2.04-1ubuntu26.1, 2.02-2ubuntu8.16, 2.02~beta2-36ubuntu3.26, 2.02~beta2-9ubuntu1.20. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-15706 or the next vulnerability affects your stack