CVE-2020-14308
In grub2 versions before 2.06 the grub memory allocator doesn't check for possible arithmetic overflows on the requested allocation size. This leads the function to return invalid memory allocations which can be further used to cause possible integrity, confidentiality and availability impacts during the boot process.
What to do
Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | grub2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | grub2-signed | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | grub2-unsigned | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | grub2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | grub2-signed | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | grub2-unsigned | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | grub2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | grub2-signed | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | grub2-unsigned | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | grub2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | grub2-signed | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | grub2-unsigned | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | grub2 | Fixed | 2.04-1ubuntu26.1 | UBUNTU-CVE-2020-14308 |
| Ubuntu 20.04 | grub2-signed | Fixed | 1.142.3 | UBUNTU-CVE-2020-14308 |
| Ubuntu 20.04 | grub2-unsigned | Fixed | 2.04-1ubuntu47.4 | UBUNTU-CVE-2020-14308 |
| Ubuntu 18.04 | grub2 | Fixed | 2.02-2ubuntu8.16 | UBUNTU-CVE-2020-14308 |
| Ubuntu 18.04 | grub2-signed | Fixed | 1.93.18 | UBUNTU-CVE-2020-14308 |
| Ubuntu 18.04 | grub2-unsigned | Fixed | 2.04-1ubuntu47.4 | UBUNTU-CVE-2020-14308 |
| Ubuntu 16.04 | grub2 | Fixed | 2.02~beta2-36ubuntu3.26 | UBUNTU-CVE-2020-14308 |
| Ubuntu 16.04 | grub2-signed | Fixed | 1.66.26 | UBUNTU-CVE-2020-14308 |
| Ubuntu 16.04 | grub2-unsigned | Fix pending | UBUNTU-CVE-2020-14308 | |
| Ubuntu 14.04 | grub2 | Fix pending | 2.02~beta2-9ubuntu1.20 (Ubuntu Pro) | UBUNTU-CVE-2020-14308 |
| Ubuntu 14.04 | grub2-signed | Fix pending | 1.34.22 (Ubuntu Pro) | UBUNTU-CVE-2020-14308 |
| Debian 14 | grub2 | Fixed | 2.04-9 | DEBIAN-CVE-2020-14308 |
| Debian 13 | grub2 | Fixed | 2.04-9 | DEBIAN-CVE-2020-14308 |
| Debian 12 | grub2 | Fixed | 2.04-9 | DEBIAN-CVE-2020-14308 |
| Red Hat Enterprise Linux 8 | fwupd | Fixed | 0:1.1.4-7.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2 | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-common | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-efi-aa64 | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-efi-aa64-cdboot | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-efi-aa64-modules | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-efi-ia32 | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-efi-ia32-cdboot | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-efi-ia32-modules | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-efi-x64 | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-efi-x64-cdboot | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-efi-x64-modules | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-pc | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-pc-modules | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-ppc64le | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-ppc64le-modules | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-tools | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-tools-efi | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-tools-extra | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-tools-minimal | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | shim | Fixed | 0:15-14.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | shim-aa64 | Fixed | 0:15-14.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | shim-ia32 | Fixed | 0:15-14.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | shim-unsigned-x64 | Fixed | 0:15-7.el8 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | shim-x64 | Fixed | 0:15-14.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 7 | fwupdate | Fixed | 0:12-6.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | fwupdate-devel | Fixed | 0:12-6.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | fwupdate-efi | Fixed | 0:12-6.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | fwupdate-libs | Fixed | 0:12-6.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2 | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-common | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-efi-aa64-modules | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-efi-ia32 | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-efi-ia32-cdboot | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-efi-ia32-modules | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-efi-x64 | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-efi-x64-cdboot | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-efi-x64-modules | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-pc | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-pc-modules | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-ppc-modules | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-ppc64 | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-ppc64-modules | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-ppc64le | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-ppc64le-modules | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-tools | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-tools-extra | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-tools-minimal | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | mokutil | Fixed | 0:15-7.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | shim | Fixed | 0:15-7.el7_9 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | shim-ia32 | Fixed | 0:15-7.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | shim-signed | Fixed | 0:15-7.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | shim-unsigned-ia32 | Fixed | 0:15-7.el7_9 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | shim-unsigned-x64 | Fixed | 0:15-7.el7_9 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | shim-x64 | Fixed | 0:15-7.el7_8 | RHSA-2020:3217 |
| Alpine Linux 3.24 | grub | Fixed | 2.06-r0 | ALPINE-CVE-2020-14308 |
| Alpine Linux 3.23 | grub | Fixed | 2.06-r0 | ALPINE-CVE-2020-14308 |
| Alpine Linux 3.22 | grub | Fixed | 2.06-r0 | ALPINE-CVE-2020-14308 |
| Alpine Linux 3.21 | grub | Fixed | 2.06-r0 | ALPINE-CVE-2020-14308 |
| Alpine Linux 3.20 | grub | Fixed | 2.06-r0 | ALPINE-CVE-2020-14308 |
| Alpine Linux 3.19 | grub | Fixed | 2.06-r0 | ALPINE-CVE-2020-14308 |
| Alpine Linux 3.18 | grub | Fixed | 2.06-r0 | ALPINE-CVE-2020-14308 |
| Alpine Linux 3.17 | grub | Fixed | 2.06-r0 | ALPINE-CVE-2020-14308 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Grub: affected: All grub2 versions before 2.06
Vendor advisories:
- https://usn.ubuntu.com/4432-1/ (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00017.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00016.html (vendor-advisory)
- https://security.gentoo.org/glsa/202104-05 (vendor-advisory)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1852009
- http://www.openwall.com/lists/oss-security/2020/07/29/3
- https://security.netapp.com/advisory/ntap-20200731-0008/
- https://usn.ubuntu.com/4432-1/
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00017.html
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00016.html
- https://security.gentoo.org/glsa/202104-05
- http://www.openwall.com/lists/oss-security/2021/09/17/2
- http://www.openwall.com/lists/oss-security/2021/09/17/4
- http://www.openwall.com/lists/oss-security/2021/09/21/1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.