CVEfocus › CVE database › CVE-2021-3527

CVE-2021-3527

CVSS 5.5 MediumEPSS 0.4% (higher than 23% of CVEs)Published 2021-05-26Updated 2024-08-03Assigner: redhat

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.

CWE-770

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

17Fixed
17Fix pending
18Will not fix
23Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04qemuFixed1:6.0+dfsg-2expubuntu1UBUNTU-CVE-2021-3527
Ubuntu 20.04qemuFixed1:4.2-3ubuntu6.17UBUNTU-CVE-2021-3527
Ubuntu 18.04qemuFixed1:2.11+dfsg-1ubuntu7.37UBUNTU-CVE-2021-3527
Ubuntu 16.04qemuFix pending1:2.5+dfsg-5ubuntu10.51+esm4 (Ubuntu Pro)UBUNTU-CVE-2021-3527
Ubuntu 14.04qemuFix pending2.0.0+dfsg-2ubuntu1.47+esm6 (Ubuntu Pro)UBUNTU-CVE-2021-3527
Debian 14qemuFixed1:5.2+dfsg-11DEBIAN-CVE-2021-3527
Debian 13qemuFixed1:5.2+dfsg-11DEBIAN-CVE-2021-3527
Debian 12qemuFixed1:5.2+dfsg-11DEBIAN-CVE-2021-3527
Red Hat Enterprise Linux 9qemu-guest-agentNot affected
Red Hat Enterprise Linux 9qemu-imgNot affected
Red Hat Enterprise Linux 9qemu-kvmNot affected
Red Hat Enterprise Linux 9qemu-kvm-audio-paNot affected
Red Hat Enterprise Linux 9qemu-kvm-block-blkioNot affected
Red Hat Enterprise Linux 9qemu-kvm-block-curlNot affected
Red Hat Enterprise Linux 9qemu-kvm-block-rbdNot affected
Red Hat Enterprise Linux 9qemu-kvm-commonNot affected
Red Hat Enterprise Linux 9qemu-kvm-coreNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpuNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpu-ccwNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpu-glNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpu-pciNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpu-pci-glNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-vgaNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-vga-glNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-usb-hostNot affected
Red Hat Enterprise Linux 9qemu-kvm-device-usb-redirectNot affected
Red Hat Enterprise Linux 9qemu-kvm-docsNot affected
Red Hat Enterprise Linux 9qemu-kvm-toolsNot affected
Red Hat Enterprise Linux 9qemu-kvm-ui-egl-headlessNot affected
Red Hat Enterprise Linux 9qemu-kvm-ui-openglNot affected
Red Hat Enterprise Linux 9qemu-pr-helperNot affected
Red Hat Enterprise Linux 8qemu-guest-agentFix pending
Fix deferred
Red Hat Enterprise Linux 8qemu-imgFix pending
Fix deferred
Red Hat Enterprise Linux 8qemu-kvmFix pending
Fix deferred
Red Hat Enterprise Linux 8qemu-kvm-block-curlFix pending
Fix deferred
Red Hat Enterprise Linux 8qemu-kvm-block-glusterFix pending
Fix deferred
Red Hat Enterprise Linux 8qemu-kvm-block-iscsiFix pending
Fix deferred
Red Hat Enterprise Linux 8qemu-kvm-block-rbdFix pending
Fix deferred
Red Hat Enterprise Linux 8qemu-kvm-block-sshFix pending
Fix deferred
Red Hat Enterprise Linux 8qemu-kvm-commonFix pending
Fix deferred
Red Hat Enterprise Linux 8qemu-kvm-coreFix pending
Fix deferred
Red Hat Enterprise Linux 8qemu-kvm-docsFix pending
Fix deferred
Red Hat Enterprise Linux 8qemu-kvm-hw-usbredirFix pending
Fix deferred
Red Hat Enterprise Linux 8qemu-kvm-testsFix pending
Fix deferred
Red Hat Enterprise Linux 8qemu-kvm-ui-openglFix pending
Fix deferred
Red Hat Enterprise Linux 8qemu-kvm-ui-spiceFix pending
Fix deferred
Red Hat Enterprise Linux 7libcacardWill not fix
Out of support scope
Red Hat Enterprise Linux 7libcacard-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7libcacard-toolsWill not fix
Out of support scope
Red Hat Enterprise Linux 7qemu-guest-agentWill not fix
Out of support scope
Red Hat Enterprise Linux 7qemu-imgWill not fix
Out of support scope
Red Hat Enterprise Linux 7qemu-img-maWill not fix
Out of support scope
Red Hat Enterprise Linux 7qemu-kvmWill not fix
Out of support scope
Red Hat Enterprise Linux 7qemu-kvm-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 7qemu-kvm-common-maWill not fix
Out of support scope
Red Hat Enterprise Linux 7qemu-kvm-maWill not fix
Out of support scope
Red Hat Enterprise Linux 7qemu-kvm-rhevWill not fix
Out of support scope
Red Hat Enterprise Linux 7qemu-kvm-toolsWill not fix
Out of support scope
Red Hat Enterprise Linux 7qemu-kvm-tools-maWill not fix
Out of support scope
Red Hat Enterprise Linux 6qemu-guest-agentWill not fix
Out of support scope
Red Hat Enterprise Linux 6qemu-guest-agent-win32Will not fix
Out of support scope
Red Hat Enterprise Linux 6qemu-imgWill not fix
Out of support scope
Red Hat Enterprise Linux 6qemu-kvmWill not fix
Out of support scope
Red Hat Enterprise Linux 6qemu-kvm-toolsWill not fix
Out of support scope
Alpine Linux 3.24qemuFixed6.0.0-r2ALPINE-CVE-2021-3527
Alpine Linux 3.23qemuFixed6.0.0-r2ALPINE-CVE-2021-3527
Alpine Linux 3.22qemuFixed6.0.0-r2ALPINE-CVE-2021-3527
Alpine Linux 3.21qemuFixed6.0.0-r2ALPINE-CVE-2021-3527
Alpine Linux 3.20qemuFixed6.0.0-r2ALPINE-CVE-2021-3527
Alpine Linux 3.19qemuFixed6.0.0-r2ALPINE-CVE-2021-3527
Alpine Linux 3.18qemuFixed6.0.0-r2ALPINE-CVE-2021-3527
Alpine Linux 3.17qemuFixed6.0.0-r2ALPINE-CVE-2021-3527
Alpine Linux 3.16qemuFixed6.0.0-r2ALPINE-CVE-2021-3527
Alpine Linux 3.15qemuFixed6.0.0-r2ALPINE-CVE-2021-3527
Alpine Linux 3.14qemuFixed6.0.0-r2ALPINE-CVE-2021-3527

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.