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.
References
Link | Resource |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14310 | Issue Tracking Vendor Advisory |
https://usn.ubuntu.com/4432-1/ | Third Party Advisory |
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/msg00016.html | Mailing List Third Party Advisory |
https://security.gentoo.org/glsa/202104-05 | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Configuration 4 (hide)
|
Information
Published : 2020-07-31 15:15
Updated : 2021-10-19 06:19
NVD link : CVE-2020-14310
Mitre link : CVE-2020-14310
JSON object : View
CWE
CWE-190
Integer Overflow or Wraparound
Products Affected
redhat
- enterprise_linux_server_aus
- enterprise_linux
- enterprise_linux_server_tus
- enterprise_linux_eus
gnu
- grub2
canonical
- ubuntu_linux
opensuse
- leap