CVE-2020-14310
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.
How to fix
- gnu grub22.06 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gnu grub2 | v < 2.06 | 2.06 |
| redhat enterprise_linux | 7.0, 8.0 | — |
| redhat enterprise_linux_eus | 8.1, 8.2 | — |
| redhat enterprise_linux_server_aus | 8.2 | — |
| redhat enterprise_linux_server_tus | 8.2 | — |
| opensuse leap | 15.1, 15.2 | — |
| canonical ubuntu_linux | 14.04, 16.04, 18.04, 20.04 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.