{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2022-4172",
        "ASSIGNER": "secalert@redhat.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "QEMU (ACPI ERST)",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "Affected: 7.0.0, Fixed: 7.2.0-rc0"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-120, CWE-190"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "name": "https://lore.kernel.org/qemu-devel/20221024154233.1043347-1-lk@c--e.de/",
                "url": "https://lore.kernel.org/qemu-devel/20221024154233.1043347-1-lk@c--e.de/"
            },
            {
                "refsource": "MISC",
                "name": "https://gitlab.com/qemu-project/qemu/-/issues/1268",
                "url": "https://gitlab.com/qemu-project/qemu/-/issues/1268"
            },
            {
                "refsource": "MISC",
                "name": "https://gitlab.com/qemu-project/qemu/-/commit/defb7098",
                "url": "https://gitlab.com/qemu-project/qemu/-/commit/defb7098"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-22b1f8dae2",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I7J5IRXJYLELW7D43A75LOWRUE5EU54O/"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://security.netapp.com/advisory/ntap-20230127-0013/",
                "url": "https://security.netapp.com/advisory/ntap-20230127-0013/"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "An integer overflow and buffer overflow issues were found in the ACPI Error Record Serialization Table (ERST) device of QEMU in the read_erst_record() and write_erst_record() functions. Both issues may allow the guest to overrun the host buffer allocated for the ERST memory device. A malicious guest could use these flaws to crash the QEMU process on the host."
            }
        ]
    }
}