{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2020-14310",
        "ASSIGNER": "secalert@redhat.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "The Grub2 Project",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "grub2",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "2.06"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-190"
                    }
                ]
            },
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-122"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14310",
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14310",
                "refsource": "CONFIRM"
            },
            {
                "refsource": "UBUNTU",
                "name": "USN-4432-1",
                "url": "https://usn.ubuntu.com/4432-1/"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2020:1169",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00017.html"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2020:1168",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00016.html"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202104-05",
                "url": "https://security.gentoo.org/glsa/202104-05"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "impact": {
        "cvss": [
            [
                {
                    "vectorString": "5.7/CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H",
                    "version": "3.0"
                }
            ]
        ]
    }
}