medium5.7
CVE-2020-14310
There is an issue on grub2 before version 2.06 at function read_section_as_string().
Impact
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 products
| Vendor | Product | Affected versions |
|---|---|---|
| Gnu | Grub2 | before 2.06 |
| Redhat | Enterprise Linux | Versions 7.0, 8.0 |
| Redhat | Enterprise Linux Eus | Versions 8.1, 8.2 |
| Redhat | Enterprise Linux Server Aus | Version 8.2 |
| Redhat | Enterprise Linux Server Tus | Version 8.2 |
| Opensuse | Leap | Versions 15.1, 15.2 |
| Canonical | Ubuntu Linux | Versions 14.04, 16.04, 18.04, 20.04 |
Weakness classification
References
- NVD record
- CVE.org record
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00016.html
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00017.html
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14310
- https://security.gentoo.org/glsa/202104-05
- https://usn.ubuntu.com/4432-1/
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00016.html
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00017.html
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14310
- https://security.gentoo.org/glsa/202104-05
- https://usn.ubuntu.com/4432-1/