CVE-2020-14310

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gnu:grub2:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_eus:8.1:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_eus:8.2:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_aus:8.2:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_tus:8.2:*:*:*:*:*:*:*

Configuration 3 (hide)

OR cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:*

Configuration 4 (hide)

OR cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*

History

21 Nov 2024, 05:02

Type Values Removed Values Added
References () http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00016.html - Mailing List, Third Party Advisory () http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00016.html - Mailing List, Third Party Advisory
References () http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00017.html - Mailing List, Third Party Advisory () http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00017.html - Mailing List, Third Party Advisory
References () https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14310 - Issue Tracking, Vendor Advisory () https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14310 - Issue Tracking, Vendor Advisory
References () https://security.gentoo.org/glsa/202104-05 - Third Party Advisory () https://security.gentoo.org/glsa/202104-05 - Third Party Advisory
References () https://usn.ubuntu.com/4432-1/ - Third Party Advisory () https://usn.ubuntu.com/4432-1/ - Third Party Advisory
CVSS v2 : 3.6
v3 : 6.0
v2 : 3.6
v3 : 5.7

Information

Published : 2020-07-31 22:15

Updated : 2024-11-21 05:02


NVD link : CVE-2020-14310

Mitre link : CVE-2020-14310

CVE.ORG link : CVE-2020-14310


JSON object : View

Products Affected

redhat

  • enterprise_linux_eus
  • enterprise_linux_server_tus
  • enterprise_linux
  • enterprise_linux_server_aus

opensuse

  • leap

gnu

  • grub2

canonical

  • ubuntu_linux
CWE
CWE-122

Heap-based Buffer Overflow

CWE-190

Integer Overflow or Wraparound