Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-6458.json
JSON Data
https://api.test.osv.dev/v1/vulns/AZL-6458
Upstream
Published
2020-07-31T22:15:11Z
Modified
2026-04-01T05:20:21.728621Z
Severity
  • 6.0 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
CVE-2020-14310 affecting package grub2 for versions less than 2.06~rc1-7
Details

There is an issue on grub2 before version 2.06 at function readsectionasstring(). It expects a font name to be at max UINT32MAX - 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 UINT32MAX, leading to readsectionasstring() to an arithmetic overflow, zero-sized allocation and further heap-based buffer overflow.

References

Affected packages

Azure Linux:2 / grub2

Package

Name
grub2
Purl
pkg:rpm/azure-linux/grub2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.06~rc1-7

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-6458.json"