Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2020-14310: CVE-2020-14310 grub2: Integer overflow read_section_as_string may lead to heap-based buffer overflow (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Red Hat: CVE-2020-14310: CVE-2020-14310 grub2: Integer overflow read_section_as_string may lead to heap-based buffer overflow (Multiple Advisories)

Severity
4
CVSS
(AV:L/AC:L/Au:N/C:N/I:P/A:P)
Published
07/29/2020
Created
07/31/2020
Added
07/30/2020
Modified
12/15/2023

Description

There is an issue on grub2 before version 2.06 at function read_section_as_string(). It expects a font name to be at max UINT32_MAX - 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 UINT32_MAX, leading to read_section_as_string() to an arithmetic overflow, zero-sized allocation and further heap-based buffer overflow.

Solution(s)

  • redhat-upgrade-fwupd
  • redhat-upgrade-fwupd-debuginfo
  • redhat-upgrade-fwupd-debugsource
  • redhat-upgrade-fwupdate
  • redhat-upgrade-fwupdate-debuginfo
  • redhat-upgrade-fwupdate-devel
  • redhat-upgrade-fwupdate-efi
  • redhat-upgrade-fwupdate-libs
  • redhat-upgrade-grub2
  • redhat-upgrade-grub2-common
  • redhat-upgrade-grub2-debuginfo
  • redhat-upgrade-grub2-debugsource
  • redhat-upgrade-grub2-efi-aa64-modules
  • redhat-upgrade-grub2-efi-ia32
  • redhat-upgrade-grub2-efi-ia32-cdboot
  • redhat-upgrade-grub2-efi-ia32-modules
  • redhat-upgrade-grub2-efi-x64
  • redhat-upgrade-grub2-efi-x64-cdboot
  • redhat-upgrade-grub2-efi-x64-modules
  • redhat-upgrade-grub2-pc
  • redhat-upgrade-grub2-pc-modules
  • redhat-upgrade-grub2-ppc-modules
  • redhat-upgrade-grub2-ppc64-modules
  • redhat-upgrade-grub2-ppc64le-modules
  • redhat-upgrade-grub2-tools
  • redhat-upgrade-grub2-tools-debuginfo
  • redhat-upgrade-grub2-tools-efi
  • redhat-upgrade-grub2-tools-efi-debuginfo
  • redhat-upgrade-grub2-tools-extra
  • redhat-upgrade-grub2-tools-extra-debuginfo
  • redhat-upgrade-grub2-tools-minimal
  • redhat-upgrade-grub2-tools-minimal-debuginfo
  • redhat-upgrade-mokutil
  • redhat-upgrade-mokutil-debuginfo
  • redhat-upgrade-shim-ia32
  • redhat-upgrade-shim-unsigned-aa64-debuginfo
  • redhat-upgrade-shim-unsigned-ia32
  • redhat-upgrade-shim-unsigned-ia32-debuginfo
  • redhat-upgrade-shim-unsigned-x64
  • redhat-upgrade-shim-unsigned-x64-debuginfo
  • redhat-upgrade-shim-x64

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;