{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2022-0216",
        "ASSIGNER": "secalert@redhat.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A use-after-free vulnerability was found in the LSI53C895A SCSI Host Bus Adapter emulation of QEMU. The flaw occurs while processing repeated messages to cancel the current SCSI request via the lsi_do_msgout function. This flaw allows a malicious privileged user within the guest to crash the QEMU process on the host, resulting in a denial of service."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-416 - Use After Free",
                        "cweId": "CWE-416"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "QEMU",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "Affects QEMU < v6.0.0, Fixed in v7.1.0-rc0"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://starlabs.sg/advisories/22/22-0216/",
                "refsource": "MISC",
                "name": "https://starlabs.sg/advisories/22/22-0216/"
            },
            {
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2036953",
                "refsource": "MISC",
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=2036953"
            },
            {
                "url": "https://gitlab.com/qemu-project/qemu/-/issues/972",
                "refsource": "MISC",
                "name": "https://gitlab.com/qemu-project/qemu/-/issues/972"
            },
            {
                "url": "https://gitlab.com/qemu-project/qemu/-/commit/4367a20cc4",
                "refsource": "MISC",
                "name": "https://gitlab.com/qemu-project/qemu/-/commit/4367a20cc4"
            },
            {
                "url": "https://access.redhat.com/security/cve/CVE-2022-0216",
                "refsource": "MISC",
                "name": "https://access.redhat.com/security/cve/CVE-2022-0216"
            },
            {
                "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTY7TVHX62OJWF6IOBCIGLR2N5K4QN3E/",
                "refsource": "MISC",
                "name": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTY7TVHX62OJWF6IOBCIGLR2N5K4QN3E/"
            }
        ]
    }
}