CVE-2020-14308: Integer Overflow

Published Jun 29, 2020
·
Updated

A flaw was found in current grub2 versions as shipped with Red Hat Enterprise Linux 7 and 8, where the grub memory allocator doesn't check for possible arithmetic overflows on the requested allocation size. This issue leads the function to return invalid memory allocations, causing heap-based overflows in several code paths. The highest threat from this vulnerability is to confidentiality, integrity as well as system availability.

Other sources

Currently grubmalloc() function and related memory infrastructure underlying it doesn't fully validate the allocation size. This can lead to arithmetic overflows leading to invalid memory allocations, which can be leverage to heap-based overflows in several code paths.

— Red Hat

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.

Affected Software

45 affected componentsFixes available
redhat/fwupdate<0:12-6.el7_8
0:12-6.el7_8
redhat/grub2<1:2.02-0.86.el7_8
1:2.02-0.86.el7_8
redhat/shim<0:15-7.el7_9
0:15-7.el7_9
redhat/shim-signed<0:15-7.el7_8
0:15-7.el7_8
redhat/grub2<1:2.02-0.86.el7_2
1:2.02-0.86.el7_2
redhat/shim<0:15-8.el7
0:15-8.el7
redhat/shim-signed<0:15-8.el7_2
0:15-8.el7_2
redhat/grub2<1:2.02-0.86.el7
1:2.02-0.86.el7
redhat/shim-signed<0:15-8.el7_3
0:15-8.el7_3
redhat/fwupdate<0:9-10.el7_4
0:9-10.el7_4
redhat/grub2<1:2.02-0.86.el7_4
1:2.02-0.86.el7_4
redhat/shim-signed<0:15-8.el7_4
0:15-8.el7_4
redhat/fwupdate<0:12-6.el7_6
0:12-6.el7_6
redhat/grub2<1:2.02-0.86.el7_6
1:2.02-0.86.el7_6
redhat/shim-signed<0:15-8.el7_6
0:15-8.el7_6
redhat/fwupdate<0:12-6.el7_7
0:12-6.el7_7
redhat/grub2<1:2.02-0.86.el7_7
1:2.02-0.86.el7_7
redhat/shim-signed<0:15-8.el7_7
0:15-8.el7_7
redhat/fwupd<0:1.1.4-7.el8_2
0:1.1.4-7.el8_2
redhat/grub2<1:2.02-87.el8_2
1:2.02-87.el8_2
redhat/shim<0:15-14.el8_2
0:15-14.el8_2
redhat/shim-unsigned-x64<0:15-7.el8
0:15-7.el8
redhat/fwupd<0:1.1.4-2.el8_0
0:1.1.4-2.el8_0
redhat/grub2<1:2.02-87.el8_0
1:2.02-87.el8_0
redhat/shim<0:15-14.el8_0
0:15-14.el8_0
redhat/fwupd<0:1.1.4-2.el8_1
0:1.1.4-2.el8_1
redhat/grub2<1:2.02-87.el8_1
1:2.02-87.el8_1
redhat/shim<0:15-14.el8_1
0:15-14.el8_1
redhat/grub<2.06
2.06
GNU GRUB2<2.06
openSUSE Leap=15.1
openSUSE Leap=15.2
alpine/grub<2.06-r0
2.06-r0
alpine/grub<2.06-r0
2.06-r0
alpine/grub<2.06-r0
2.06-r0
alpine/grub<2.06-r0
2.06-r0
alpine/grub<2.06-r0
2.06-r0
alpine/grub<2.06-r0
2.06-r0
alpine/grub<2.06-r0
2.06-r0
alpine/grub<2.06-r0
2.06-r0
alpine/grub<2.06-r0
2.06-r0
debian/grub2<2.04-9
2.04-9
debian/grub2<2.04-9
2.04-9
debian/grub2<2.04-9
2.04-9
debian/grub2
2.02+dfsg1-20+deb10u12.04-9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/fwupdate to a version that resolves this vulnerability.

    Fixed in 0:12-6.el7_8
  2. Upgrade

    Upgrade redhat/grub2 to a version that resolves this vulnerability.

    Fixed in 1:2.02-0.86.el7_8
  3. Upgrade

    Upgrade redhat/shim to a version that resolves this vulnerability.

    Fixed in 0:15-7.el7_9
  4. Upgrade

    Upgrade redhat/shim-signed to a version that resolves this vulnerability.

    Fixed in 0:15-7.el7_8
  5. Upgrade

    Upgrade redhat/grub2 to a version that resolves this vulnerability.

    Fixed in 1:2.02-0.86.el7_2
  6. Upgrade

    Upgrade redhat/shim to a version that resolves this vulnerability.

    Fixed in 0:15-8.el7
  7. Upgrade

    Upgrade redhat/shim-signed to a version that resolves this vulnerability.

    Fixed in 0:15-8.el7_2
  8. Upgrade

    Upgrade redhat/grub2 to a version that resolves this vulnerability.

    Fixed in 1:2.02-0.86.el7
  9. Upgrade

    Upgrade redhat/shim-signed to a version that resolves this vulnerability.

    Fixed in 0:15-8.el7_3
  10. Upgrade

    Upgrade redhat/fwupdate to a version that resolves this vulnerability.

    Fixed in 0:9-10.el7_4
  11. Upgrade

    Upgrade redhat/grub2 to a version that resolves this vulnerability.

    Fixed in 1:2.02-0.86.el7_4
  12. Upgrade

    Upgrade redhat/shim-signed to a version that resolves this vulnerability.

    Fixed in 0:15-8.el7_4
  13. Upgrade

    Upgrade redhat/fwupdate to a version that resolves this vulnerability.

    Fixed in 0:12-6.el7_6
  14. Upgrade

    Upgrade redhat/grub2 to a version that resolves this vulnerability.

    Fixed in 1:2.02-0.86.el7_6
  15. Upgrade

    Upgrade redhat/shim-signed to a version that resolves this vulnerability.

    Fixed in 0:15-8.el7_6
  16. Upgrade

    Upgrade redhat/fwupdate to a version that resolves this vulnerability.

    Fixed in 0:12-6.el7_7
  17. Upgrade

    Upgrade redhat/grub2 to a version that resolves this vulnerability.

    Fixed in 1:2.02-0.86.el7_7
  18. Upgrade

    Upgrade redhat/shim-signed to a version that resolves this vulnerability.

    Fixed in 0:15-8.el7_7
  19. Upgrade

    Upgrade redhat/fwupd to a version that resolves this vulnerability.

    Fixed in 0:1.1.4-7.el8_2
  20. Upgrade

    Upgrade redhat/grub2 to a version that resolves this vulnerability.

    Fixed in 1:2.02-87.el8_2
  21. Upgrade

    Upgrade redhat/shim to a version that resolves this vulnerability.

    Fixed in 0:15-14.el8_2
  22. Upgrade

    Upgrade redhat/shim-unsigned-x64 to a version that resolves this vulnerability.

    Fixed in 0:15-7.el8
  23. Upgrade

    Upgrade redhat/fwupd to a version that resolves this vulnerability.

    Fixed in 0:1.1.4-2.el8_0
  24. Upgrade

    Upgrade redhat/grub2 to a version that resolves this vulnerability.

    Fixed in 1:2.02-87.el8_0
  25. Upgrade

    Upgrade redhat/shim to a version that resolves this vulnerability.

    Fixed in 0:15-14.el8_0
  26. Upgrade

    Upgrade redhat/fwupd to a version that resolves this vulnerability.

    Fixed in 0:1.1.4-2.el8_1
  27. Upgrade

    Upgrade redhat/grub2 to a version that resolves this vulnerability.

    Fixed in 1:2.02-87.el8_1
  28. Upgrade

    Upgrade redhat/shim to a version that resolves this vulnerability.

    Fixed in 0:15-14.el8_1
  29. Upgrade

    Upgrade redhat/grub to a version that resolves this vulnerability.

    Fixed in 2.06
  30. Upgrade

    Upgrade alpine/grub to a version that resolves this vulnerability.

    Fixed in 2.06-r0
  31. Upgrade

    Upgrade debian/grub2 to a version that resolves this vulnerability.

    Fixed in 2.04-9
  32. Upgrade

    Upgrade debian/grub2 to a version that resolves this vulnerability.

    Fixed in 2.02+dfsg1-20+deb10u1Fixed in 2.04-9
  33. Upgrade

    Upgrade grub2 to a version that resolves this vulnerability.

    Fixed in 2.06

Event History

Jun 29, 2020
Data Sourced
03:23 PM
DescriptionSeverityAffected Software
Jul 29, 2020
CVE Published
12:00 AM
Data Sourced
12:00 AM
Remedy
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
Data Sourced
05:00 PM
Weakness
CVE Published
via MITRE·07:03 PM
Data Sourced
via MITRE·07:03 PM
DescriptionWeakness
Data Sourced
via OSV·08:15 PM
DescriptionSeverityAffected Software
Feb 16, 2021
Data Sourced
via Red Hat·07:45 PM
DescriptionSeverityAffected Software
Apr 18, 2022
Data Sourced
via NVD·03:22 PM
DescriptionSeverityWeaknessAffected Software
Updated
03:22 PM
Affected Software
Nov 21, 2024
Updated
via NVD·05:02 AM
Affected Software

Frequently Asked Questions

1

What is CVE-2020-14308?

CVE-2020-14308 is a vulnerability in grub2, the GRand Unified Bootloader, which allows for heap-based overflow due to a flaw in the memory allocator.

2

How does CVE-2020-14308 affect Red Hat Enterprise Linux?

CVE-2020-14308 affects Red Hat Enterprise Linux 7 and 8, as it is present in the shipped versions of grub2.

3

What is the severity of CVE-2020-14308?

CVE-2020-14308 has a severity level of medium with a CVSS score of 6.4.

4

How can I fix CVE-2020-14308?

To fix CVE-2020-14308, you need to update grub2 to version 2.06 or higher.

5

Where can I find more information about CVE-2020-14308?

You can find more information about CVE-2020-14308 on the Red Hat Security Advisory and CVE websites.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203