Vulnerability CVE-2021-3527: Information
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.
Severity: MEDIUM (5.5) Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Fixed packages
Package name | Branch | Fixed in version | Version from repository | Errata ID | Task # | State |
---|---|---|---|---|---|---|
qemu | sisyphus | 6.1.0-alt1 | 8.2.3-alt1 | ALT-PU-2021-2713-1 | 284381 | Fixed |
qemu | sisyphus_e2k | 7.2.0-alt3.E2K.3 | 7.2.0-alt3.E2K.4 | ALT-PU-2024-1953-1 | - | Fixed |
qemu | sisyphus_loongarch64 | 8.2.0-alt0.0.port | 8.2.3-alt1 | ALT-PU-2024-1781-1 | - | Fixed |
qemu | p10 | 6.1.0-alt2 | 8.2.2-alt0.p10.1 | ALT-PU-2021-3363-1 | 289854 | Fixed |
qemu | p10_e2k | 7.2.0-alt3.E2K.0 | 7.2.0-alt3.E2K.3 | ALT-PU-2023-6766-1 | - | Fixed |
qemu | c10f1 | 8.2.2-alt0.p10.1 | 8.2.2-alt0.p10.1 | ALT-PU-2024-7201-3 | 345913 | Fixed |
References to Advisories, Solutions, and Tools
Hyperlink | Resource |
---|---|
https://www.openwall.com/lists/oss-security/2021/05/05/5 |
|
https://gitlab.com/qemu-project/qemu/-/commit/05a40b172e4d691371534828078be47e7fff524c |
|
https://bugzilla.redhat.com/show_bug.cgi?id=1955695 |
|
https://gitlab.com/qemu-project/qemu/-/commit/7ec54f9eb62b5d177e30eb8b1cad795a5f8d8986 |
|
https://security.netapp.com/advisory/ntap-20210708-0008/ |
|
[debian-lts-announce] 20210902 [SECURITY] [DLA 2753-1] qemu security update |
|
GLSA-202208-27 |
|
[debian-lts-announce] 20220905 [SECURITY] [DLA 3099-1] qemu security update |
|