CVE-2021-3527Allocation of Resources Without Limits or Throttling in Qemu

Severity
5.5MEDIUMNVD
OSV2.3
EPSS
0.0%
top 92.14%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 26
Latest updateMay 24

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

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages6 packages

debiandebian/qemu< qemu 1:5.2+dfsg-11 (bookworm)
Debianqemu/qemu< 1:5.2+dfsg-11+3
Ubuntuqemu/qemu< 1:2.11+dfsg-1ubuntu7.37+1
NVDqemu/qemu6.0.0
CVEListV5qemu/qemuall versions

Also affects: Debian Linux 10.0, 9.0, Enterprise Linux 8.0

Patches

🔴Vulnerability Details

3
GHSA
GHSA-fwv2-775h-qv4v: A flaw was found in the USB redirector device (usb-redir) of QEMU2022-05-24
OSV
qemu vulnerabilities2021-07-15
OSV
CVE-2021-3527: A flaw was found in the USB redirector device (usb-redir) of QEMU2021-05-26

📋Vendor Advisories

4
Ubuntu
QEMU vulnerabilities2021-07-15
Microsoft
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 size2021-05-11
Red Hat
QEMU: usb: unbounded stack allocation in usbredir2021-04-30
Debian
CVE-2021-3527: qemu - A flaw was found in the USB redirector device (usb-redir) of QEMU. Small USB pac...2021
CVE-2021-3527 — Debian Qemu vulnerability | cvebase