{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2021-3527",
        "ASSIGNER": "secalert@redhat.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A flaw was found in the USB redirector device (usb-redir) of QEMU. Small USB packets are combined into a single, large transfer request, to reduce the overhead and improve performance. The combined size of the bulk transfer is used to dynamically allocate a variable length array (VLA) on the stack without proper validation. Since the total size is not bounded, a malicious guest could use this flaw to influence the array length and cause the QEMU process to perform an excessive allocation on the stack, resulting in a denial of service."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-770",
                        "cweId": "CWE-770"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "QEMU",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "all versions"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1955695",
                "refsource": "MISC",
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1955695"
            },
            {
                "url": "https://www.openwall.com/lists/oss-security/2021/05/05/5",
                "refsource": "MISC",
                "name": "https://www.openwall.com/lists/oss-security/2021/05/05/5"
            },
            {
                "url": "https://gitlab.com/qemu-project/qemu/-/commit/7ec54f9eb62b5d177e30eb8b1cad795a5f8d8986",
                "refsource": "MISC",
                "name": "https://gitlab.com/qemu-project/qemu/-/commit/7ec54f9eb62b5d177e30eb8b1cad795a5f8d8986"
            },
            {
                "url": "https://gitlab.com/qemu-project/qemu/-/commit/05a40b172e4d691371534828078be47e7fff524c",
                "refsource": "MISC",
                "name": "https://gitlab.com/qemu-project/qemu/-/commit/05a40b172e4d691371534828078be47e7fff524c"
            },
            {
                "url": "https://security.gentoo.org/glsa/202208-27",
                "refsource": "MISC",
                "name": "https://security.gentoo.org/glsa/202208-27"
            },
            {
                "url": "https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html",
                "refsource": "MISC",
                "name": "https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html"
            },
            {
                "url": "https://lists.debian.org/debian-lts-announce/2021/09/msg00000.html",
                "refsource": "MISC",
                "name": "https://lists.debian.org/debian-lts-announce/2021/09/msg00000.html"
            },
            {
                "url": "https://security.netapp.com/advisory/ntap-20210708-0008/",
                "refsource": "MISC",
                "name": "https://security.netapp.com/advisory/ntap-20210708-0008/"
            }
        ]
    }
}