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.

State
Published
Severity
6.4 Medium
Published
Jul 29, 2020
Updated
Sep 16, 2024
Reserved
Jul 14, 2020

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.4 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:Hcanonical

Weaknesses

  • CWE-362 Race Condition (Concurrent Execution using Shared Resource with Improper Synchronization)

Affected Products

ProductVersions
grub2 in UbuntuUbuntu
  • 20.04 LTS to before 2.04-1ubuntu26.1Affected
  • 18.04 LTS to before 2.02-2ubuntu8.16Affected
  • 16.04 LTS to before 2.02~beta2-36ubuntu3.26Affected
  • 14.04 ESM to before 2.02~beta2-9ubuntu1.20Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.