Integer overflow in grub - CVE-2020-15707
Published: July 30, 2020
Vulnerability details
The vulnerability allows a local attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow in the "grub_cmd_initrd" and "grub_initrd_init" functions in the "efilinux" component. An attacker with physical access can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
Debian Linux
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Scientific Computing
CentOS
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Anolis OS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Ubuntu
Opensuse
openEuler
fwupd (Red Hat package)
grub2 (Red Hat package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
shim-signed (Red Hat package)
shim (Red Hat package)
fwupd
grub2-debuginfo
grub2-common
grub2
grub2-debugsource
grub2-efi-aa64
grub2-efi-aa64-cdboot
grub2-efi-aa64-modules
grub2-help
grub2-tools
grub2-efi-ia32
grub2-efi-ia32-cdboot
grub2-efi-x64
grub2-efi-x64-cdboot
grub2-pc
grub2-tools-efi
fwupdate (Red Hat package)
shim-unsigned-x64 (Red Hat package)
grub-efi-arm64-signed (Ubuntu package)
grub-efi-amd64-signed (Ubuntu package)
grub-efi-arm-bin (Ubuntu package)
grub-efi-arm64-bin (Ubuntu package)
grub-efi-amd64-bin (Ubuntu package)
grub-efi-ia32-bin (Ubuntu package)
grub2 (Debian package)
APM Edge
Data Computing Appliance (DCA)
IBM Security Guardium
How to mitigate CVE-2020-15707
fwupd (Red Hat package) - addressed in versions 1.1.4-2.el8_1, 1.1.4-7.el8_2
grub2 (Red Hat package) - addressed in versions 2.02-0.86.el7_7, 2.02-0.86.el7_8, 2.02-87.el8_1, 2.02-87.el8_2
shim-signed (Red Hat package) - addressed in versions 15-7.el7_8, 15-8.el7_7
shim (Red Hat package) - addressed in versions 15-7.el7_9, 15-8.el7, 15-14.el8_1, 15-14.el8_2
APM Edge - update to 4.0
fwupd - update to 1.1.4-7.0.1
grub2-debuginfo - update to 2.02-77
grub2-common - update to 2.02-77
grub2 - update to 2.02-77
grub2-debugsource - update to 2.02-77
grub2-efi-aa64 - update to 2.02-77
grub2-efi-aa64-cdboot - update to 2.02-77
grub2-efi-aa64-modules - update to 2.02-77
grub2-help - update to 2.02-77
grub2-tools - update to 2.02-77
grub2-efi-ia32 - update to 2.02-77
grub2-efi-ia32-cdboot - update to 2.02-77
grub2-efi-x64 - update to 2.02-77
grub2-efi-x64-cdboot - update to 2.02-77
grub2-pc - update to 2.02-77
grub2-tools-efi - update to 2.02-77
fwupdate (Red Hat package) - addressed in versions 12-6.el7_7, 12-6.el7_8
shim-unsigned-x64 (Red Hat package) - update to 15-7.el8
Data Computing Appliance (DCA) - update to 4.3.0.0
grub-efi-arm64-signed (Ubuntu package) - addressed in versions 1.66.26+2.02~beta2-36ubuntu3.26, 1.66.27+2.02~beta2-36ubuntu3.27, 1.93.18+2.02-2ubuntu8.16, 1.93.19+2.02-2ubuntu8.17, 1.142.3+2.04-1ubuntu26.1, 1.142.4+2.04-1ubuntu26.2
grub-efi-amd64-signed (Ubuntu package) - addressed in versions 1.66.26+2.02~beta2-36ubuntu3.26, 1.66.27+2.02~beta2-36ubuntu3.27, 1.93.18+2.02-2ubuntu8.16, 1.93.19+2.02-2ubuntu8.17, 1.142.3+2.04-1ubuntu26.1, 1.142.4+2.04-1ubuntu26.2
grub-efi-arm-bin (Ubuntu package) - addressed in versions 2.02~beta2-36ubuntu3.26, 2.02~beta2-36ubuntu3.27, 2.02-2ubuntu8.16, 2.02-2ubuntu8.17, 2.04-1ubuntu26.1, 2.04-1ubuntu26.2
grub-efi-arm64-bin (Ubuntu package) - addressed in versions 2.02~beta2-36ubuntu3.26, 2.02~beta2-36ubuntu3.27, 2.02-2ubuntu8.16, 2.02-2ubuntu8.17, 2.04-1ubuntu26.1, 2.04-1ubuntu26.2
grub-efi-amd64-bin (Ubuntu package) - addressed in versions 2.02~beta2-36ubuntu3.26, 2.02~beta2-36ubuntu3.27, 2.02-2ubuntu8.16, 2.02-2ubuntu8.17, 2.04-1ubuntu26.1, 2.04-1ubuntu26.2
grub-efi-ia32-bin (Ubuntu package) - addressed in versions 2.02~beta2-36ubuntu3.26, 2.02~beta2-36ubuntu3.27, 2.02-2ubuntu8.16, 2.02-2ubuntu8.17, 2.04-1ubuntu26.1, 2.04-1ubuntu26.2
grub2 (Debian package) - update to 2.02+dfsg1-20+deb10u1
External References
- http://ubuntu.com/security/notices/USN-4432-1
- http://www.openwall.com/lists/oss-security/2020/07/29/3
- https://access.redhat.com/security/vulnerabilities/grub2bootloader
- https://lists.gnu.org/archive/html/grub-devel/2020-07/msg00034.html
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/ADV200011
- https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/GRUB2SecureBootBypass
- https://www.debian.org/security/2020/dsa-4735
- https://www.debian.org/security/2020-GRUB-UEFI-SecureBoot
- https://www.eclypsium.com/2020/07/29/theres-a-hole-in-the-boot/
- https://www.openwall.com/lists/oss-security/2020/07/29/3
- https://www.suse.com/c/suse-addresses-grub2-secure-boot-issue/
- https://www.suse.com/support/kb/doc/?id=000019673
Related Security Bulletins
- Multiple vulnerabilities in GRUB2
- Red Hat 8.1 update for grub2
- Red Hat 7 update for grub2
- Red Hat 8 update for grub2
- CentOS 7 update for grub2
- CentOS 7 update for shim-signed
- CentOS 7 update for shim
- Red Hat 7.7 update for grub2
- OpenSUSE Linux update for grub2
- OpenSUSE Linux update for grub2
- Gentoo update for GRUB
- Multiple vulnerabilities in Hitachi Energy APM Edge
- Debian update for grub2
- Multiple vulnerabilities in Dell EMC Data Computing Appliance (DCA)
- Multiple vulnerabilities in IBM Security Guardium
- openEuler 20.03 LTS update for grub2
- Anolis OS update for fwupd
- Ubuntu update for grub2
- Ubuntu update for grub2