CVE-2020-15706: GRUB2 - Use After Free
- Cve: CVE-2020-15706
- Name: GRUB2 - Use After Free
- 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.
- Impact: Attackers can execute arbitrary code and bypass secure boot restrictions, potentially compromising system integrity and security.
- Remediation: Update to the latest version of GRUB2, newer than 2.04.
- Vulnerability type: use_after_free
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.4
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00991
- Epss percentile: 0.63425
- Assignee: [email protected]
- Published at: 2020-07-29T18:15:14Z
- Age in days: 2309
- Modified at: 2026-06-17T02:57:05Z
- Patch available: yes
- References total: 15
- Products total: 14
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-15706
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/ADV200011 | Patch, Third Party Advisory, Vendor Advisory |
| https://lists.gnu.org/archive/html/grub-devel/2020-07/msg00034.html | Issue Tracking, Vendor Advisory |
| http://ubuntu.com/security/notices/USN-4432-1 | Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2020/07/29/3 | Mailing List, Third Party Advisory |
| https://access.redhat.com/security/vulnerabilities/grub2bootloader | Third Party Advisory |
| https://security.gentoo.org/glsa/202104-05 | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20200731-0008/ | Third Party Advisory |
| https://usn.ubuntu.com/4432-1/ | Third Party Advisory |
| https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/GRUB2SecureBootBypass | Third Party Advisory |
| https://www.debian.org/security/2020-GRUB-UEFI-SecureBoot | Third Party Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| gnu:grub2 | <= 2.04 | /v1/products/gnu/grub2 |
| debian:debian_linux | = 10.0 | /v1/products/debian/debian_linux |
| microsoft:windows_server_2019 | all versions | /v1/products/microsoft/windows_server_2019 |
| microsoft:windows_server_2016 | all versions, = 2004, = 1909, = 1903 | /v1/products/microsoft/windows_server_2016 |
| microsoft:windows_server_2012 | all versions, = r2 | /v1/products/microsoft/windows_server_2012 |
| canonical:ubuntu_linux | = 20.04, = 18.04, = 16.04, = 14.04 | /v1/products/canonical/ubuntu_linux |
| microsoft:windows_10 | all versions, = 2004, = 1909, = 1903, = 1809, = 1803, = 1709, = 1607 | /v1/products/microsoft/windows_10 |
| microsoft:windows_8.1 | all versions | /v1/products/microsoft/windows_8.1 |
| microsoft:windows_rt_8.1 | all versions | /v1/products/microsoft/windows_rt_8.1 |
| redhat:enterprise_linux | = 8.0, = 7.0 | /v1/products/redhat/enterprise_linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 21216412
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports