CVEvulnerability
CVE-2020-14310
6.0 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2020-07-31
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.7 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H
- CVSS 3.1 ([email protected])
- 6.0 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
- CVSS 2.0 ([email protected])
- 3.6 LOW — AV:L/AC:L/Au:N/C:N/I:P/A:P
- Weaknesses
- CWE-122, CWE-190
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.
Affected configurations
• 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
Related
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/msg00017.html Mailing List, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14310 Issue Tracking, Vendor Advisory
- https://security.gentoo.org/glsa/202104-05 Third Party Advisory
- https://usn.ubuntu.com/4432-1/ Third Party Advisory
- 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/msg00017.html Mailing List, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14310 Issue Tracking, Vendor Advisory
- https://security.gentoo.org/glsa/202104-05 Third Party Advisory
- https://usn.ubuntu.com/4432-1/ Third Party Advisory