{"id":"CVE-2021-3527","state":"PUBLISHED","title":"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 performa","description":"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.","publishedAt":"2021-05-26T21:13:56.000Z","updatedAt":"2024-08-03T17:01:07.589Z","severity":null,"assigner":"redhat","products":["n/a QEMU"],"affected":[{"vendor":"n/a","product":"QEMU","versions":[{"version":"all versions","status":"affected"}]}],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=1955695","https://www.openwall.com/lists/oss-security/2021/05/05/5","https://gitlab.com/qemu-project/qemu/-/commit/7ec54f9eb62b5d177e30eb8b1cad795a5f8d8986","https://gitlab.com/qemu-project/qemu/-/commit/05a40b172e4d691371534828078be47e7fff524c","https://security.netapp.com/advisory/ntap-20210708-0008/","https://lists.debian.org/debian-lts-announce/2021/09/msg00000.html","https://security.gentoo.org/glsa/202208-27","https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html"],"weaknesses":["CWE-770"],"ingestedAt":"2026-10-29T19:48:55.807Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/3xxx/CVE-2021-3527.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-3527","state":"PUBLISHED","datePublished":"2021-05-26T21:13:56.000Z","dateUpdated":"2024-08-03T17:01:07.589Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2021-04-30T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"n/a","product":"QEMU","versions":[{"version":"all versions","status":"affected"}]}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1955695","tags":["x_refsource_MISC"]},{"url":"https://www.openwall.com/lists/oss-security/2021/05/05/5","tags":["x_refsource_MISC"]},{"url":"https://gitlab.com/qemu-project/qemu/-/commit/7ec54f9eb62b5d177e30eb8b1cad795a5f8d8986","tags":["x_refsource_MISC"]},{"url":"https://gitlab.com/qemu-project/qemu/-/commit/05a40b172e4d691371534828078be47e7fff524c","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20210708-0008/","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/09/msg00000.html","name":"[debian-lts-announce] 20210902 [SECURITY] [DLA 2753-1] qemu security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.gentoo.org/glsa/202208-27","name":"GLSA-202208-27","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html","name":"[debian-lts-announce] 20220905 [SECURITY] [DLA 3099-1] qemu security update","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-770","description":"CWE-770","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2022-09-05T05:06:17.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1955695","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.openwall.com/lists/oss-security/2021/05/05/5","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://gitlab.com/qemu-project/qemu/-/commit/7ec54f9eb62b5d177e30eb8b1cad795a5f8d8986","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://gitlab.com/qemu-project/qemu/-/commit/05a40b172e4d691371534828078be47e7fff524c","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20210708-0008/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/09/msg00000.html","name":"[debian-lts-announce] 20210902 [SECURITY] [DLA 2753-1] qemu security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202208-27","name":"GLSA-202208-27","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html","name":"[debian-lts-announce] 20220905 [SECURITY] [DLA 3099-1] qemu security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T17:01:07.589Z"}}]}}}