CVE-2020-14310: Buffer Overflow

Published Jun 29, 2020
·
Updated

A flaw was found in grub2. An expected font value is not verified before proceeding with buffer allocations allowing an attacker to use a malicious font file to create an arithmetic overflow, zero-sized allocation, and further heap-based buffer overflow. The highest threat from this vulnerability is to data integrity and system availability.

Other sources

Integer overflow in readsectionasstring triggered by a specially crafted font file containing a NAME section with a length of UINT32MAX, which leads to a zero-sized allocation and subsequent heap buffer overflow with attacker controlled data.

— Red Hat

There is an issue on grub2 before version 2.06 at function readsectionasstring(). It expects a font name to be at max UINT32MAX - 1 length in bytes but it doesn't verify it before proceed with buffer allocation to read the value from the font value. An attacker may leverage that by crafting a malicious font file which has a name with UINT32MAX leading to readsectionasstring() to an arithmetic overflow zero-sized allocation and further heap-based buffer overflow.

— Microsoft

There is an issue on grub2 before version 2.06 at function readsectionasstring(). It expects a font name to be at max UINT32MAX - 1 length in bytes but it doesn't verify it before proceed with buffer allocation to read the value from the font value. An attacker may leverage that by crafting a malicious font file which has a name with UINT32MAX, leading to readsectionasstring() to an arithmetic overflow, zero-sized allocation and further heap-based buffer overflow.

Affected Software

58 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
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux Eus=8.1
redhat Enterprise Linux Eus=8.2
redhat Enterprise Linux Server Aus=8.2
redhat Enterprise Linux Server Tus=8.2
openSUSE Leap=15.1
openSUSE Leap=15.2
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=20.04
Microsoft cm1 grub2 2.06~rc1-4
Microsoft azl3 grub2 2.06-23
Microsoft cbl2 grub2 2.06~rc1-7
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:36 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
Jul 31, 2020
CVE Published
via MITRE·08:55 PM
Data Sourced
via MITRE·08:55 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·10:15 PM
DescriptionSeverityAffected Software
Sep 25, 2020
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Feb 16, 2021
Data Sourced
via Red Hat·07:44 PM
DescriptionSeverityAffected Software
Nov 7, 2023
Data Sourced
via NVD·03:17 AM
DescriptionSeverityWeaknessAffected Software
Updated
03:17 AM
SeverityAffected Software
Updated
03:17 AM
Affected Software
Nov 21, 2024
Updated
via NVD·05:02 AM
Affected Software

Frequently Asked Questions

1

What is CVE-2020-14310?

CVE-2020-14310 is a vulnerability in grub2 that allows an attacker to craft a malicious font name, leading to buffer overflow.

2

What is the severity of CVE-2020-14310?

CVE-2020-14310 has a severity rating of 5.7 (medium).

3

How does CVE-2020-14310 impact affected software?

CVE-2020-14310 impacts affected software by allowing an attacker to exploit a buffer overflow vulnerability in grub2.

4

How can I fix CVE-2020-14310?

To fix CVE-2020-14310, you should upgrade to version 2.06 of grub2 or apply the appropriate security updates provided by your software vendor.

5

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

You can find more information about CVE-2020-14310 on the Red Hat website, including the official advisory and CVE page.

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