{"id":"CVE-2020-14310","published":"2020-07-31T20:55:55Z","modified":"2024-08-04T12:39:36Z","title":"There is an issue on grub2 before version 2.06 at function read_section_as_string()","vendor":"The Grub2 Project","product":"grub2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0046,"percentile":0.39805,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14310","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/4432-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00017.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00016.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://security.gentoo.org/glsa/202104-05","tags":["vendor-advisory","x_refsource_GENTOO"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":7.96},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"the-grub2-project","affectedVersions":[{"vendor":"The Grub2 Project","product":"grub2","versions":["2.06"]}],"euvd":{"id":"EUVD-2020-6462","exploited":false,"provenance":"source"}}