Skip to content
OpenAdvisories
Unscored CVE-2021-3682 EUVD-2021-26972GHSA-2w4j-r5v6-3vgr

A flaw was found in the USB redirector device emulation of QEMU in versions prior to 6.1.0-rc2. It occurs when dropping packets during a bu…

Published Aug 5, 2021 · Updated Aug 3, 2024 · Assigned by redhat

Description

A flaw was found in the USB redirector device emulation of QEMU in versions prior to 6.1.0-rc2. It occurs when dropping packets during a bulk transfer from a SPICE client due to the packet queue being full. A malicious SPICE client could use this flaw to make QEMU call free() with faked heap chunk metadata, resulting in a crash of QEMU or potential code execution with the privileges of the QEMU process on the host.

Affected products

VendorProductAffectedFixed
— QEMU qemu 6.1.0-rc2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 qemu 1:6.0+dfsg-3 —
Debian 13 qemu 1:6.0+dfsg-3 —
Debian 12 qemu 1:6.0+dfsg-3 —
Debian 11 qemu 1:5.2+dfsg-11+deb11u1 DSA-4980-1
Debian 10 qemu 1:3.1+dfsg-8+deb10u9 DLA-3099-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 9 qemu 1:2.8+dfsg-6+deb9u15 DLA-2753-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS qemu 1:6.2+dfsg-2ubuntu5 USN-5772-1
Ubuntu 20.04 LTS qemu 1:4.2-3ubuntu6.21 USN-5772-1, USN-5307-1
Ubuntu 18.04 LTS qemu 1:2.11+dfsg-1ubuntu7.39 USN-5772-1, USN-5307-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS qemu 1:2.5+dfsg-5ubuntu10.51+esm1 USN-5772-1
Ubuntu Pro 14.04 LTS qemu 2.0.0+dfsg-2ubuntu1.47+esm2 USN-5772-1
ReleasePackageFixed inAdvisory
RHEL 8 SLOF 20191022-3.git899d9883.module+el8.2.0+5449+efc036dd RHSA-2021:3704, RHSA-2021:3703
RHEL 8 hivex +6 1.3.18-20.module+el8.2.0+5588+63a201c3 RHSA-2021:3704, RHSA-2021:3703
RHEL 8 libguestfs-winsupport 8.2-2.module+el8.2.1+12663+d52ebc0d RHSA-2021:3704, RHSA-2021:3703
RHEL 8 libiscsi +2 1.18.0-8.module+el8.2.0+4793+b09dd2fb RHSA-2021:3704, RHSA-2021:3703
RHEL 8 libnbd +5 1.2.2-1.module+el8.2.0+5644+32ac38d4 RHSA-2021:3704, RHSA-2021:3703
RHEL 8 libnbd-bash-completion 1.6.0-3.module+el8.4.0+9856+bbc47853 RHSA-2021:3703
RHEL 8 libtpms +1 0.7.0-1.20191018gitdc116933b7.module+el8.2.0+4793+b09dd2fb RHSA-2021:3704, RHSA-2021:3703
RHEL 8 libvirt +28 6.0.0-25.6.module+el8.2.1+12457+868e9540 RHSA-2021:3704, RHSA-2021:3703
RHEL 8 libvirt-dbus 1.3.0-2.module+el8.2.0+4793+b09dd2fb RHSA-2021:3704, RHSA-2021:3703
RHEL 8 libvirt-python +1 6.0.0-1.module+el8.2.0+5453+31b2b136 RHSA-2021:3704, RHSA-2021:3703
RHEL 8 libvirt-wireshark 7.0.0-14.4.module+el8.4.0+12413+d23780e6 RHSA-2021:3703
RHEL 8 nbdkit +13 1.16.2-4.module+el8.2.1+6710+effcb1df RHSA-2021:3704, RHSA-2021:3703
RHEL 8 nbdkit-nbd-plugin +4 1.24.0-1.module+el8.4.0+9341+96cf2672 RHSA-2021:3703
RHEL 8 netcf +2 0.2.8-12.module+el8.2.0+4793+b09dd2fb RHSA-2021:3704, RHSA-2021:3703
RHEL 8 perl-Sys-Virt 6.0.0-1.module+el8.2.0+5488+267def79 RHSA-2021:3704, RHSA-2021:3703
RHEL 8 python-pyvmomi +1 6.7.1-7.module+el8.2.0+4793+b09dd2fb RHSA-2021:3704, RHSA-2021:3703
RHEL 8 qemu-img +10 15:4.2.0-29.module+el8.2.1+12598+39ddf37a.9 RHSA-2021:3704, RHSA-2021:3703
RHEL 8 qemu-kiwi +3 15:5.2.0-16.module+el8.4.0+12596+209e4022.10 RHSA-2021:3703
RHEL 8 seabios +2 1.13.0-2.module+el8.2.1+7284+aa32a2c4 RHSA-2021:3704, RHSA-2021:3703
RHEL 8 sgabios +1 1:0.20170427git-3.module+el8.2.0+4793+b09dd2fb RHSA-2021:3704, RHSA-2021:3703
RHEL 8 supermin +1 5.1.19-10.module+el8.2.0+4793+b09dd2fb RHSA-2021:3704, RHSA-2021:3703
RHEL 8 swtpm +3 0.2.0-2.20200127gitff5a83b.module+el8.2.0+5579+d71178e0 RHSA-2021:3704, RHSA-2021:3703
RHEL 8 virglrenderer +2 0.8.2-1.module+el8.2.0+5777+d9c2af8c RHSA-2021:3704
RHEL 8 virt-dib +25 1:1.40.2-24.module+el8.2.1+7154+47ffd890 RHSA-2021:3704, RHSA-2021:3703
RHEL 8 virt-v2v-man-pages-ja +2 1:1.42.0-9.module+el8.4.0+9561+069bb9c1 RHSA-2021:3703

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 SLOF 20210217-1.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 hivex +6 1.3.18-23.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 libguestfs-winsupport 8.6-1.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 libiscsi +2 1.18.0-8.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 libnbd +6 1.6.0-5.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 libtpms +1 0.9.1-0.20211126git1ff6fe1f43.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 libvirt +27 8.0.0-5.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 libvirt-dbus 1.3.0-2.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 nbdkit +18 1.24.0-4.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 netcf +2 0.2.8-12.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 perl-Sys-Virt +1 8.0.0-1.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 qemu-img +14 15:6.2.0-11.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 seabios +2 1.15.0-2.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 sgabios +1 1:0.20170427git-3.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 supermin +1 5.2.1-1.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 swtpm +4 0.7.0-1.20211109gitb79fd91.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
AlmaLinux 8 virt-dib +24 1:1.44.0-5.module_el8.6.0+2880+7d9e3703.alma ALSA-2022:1759
AlmaLinux 8 virt-v2v +3 1:1.42.0-18.module_el8.6.0+2880+7d9e3703 ALSA-2022:1759
ReleasePackageFixed inAdvisory
SLES 15 SP3 qemu 5.2.0-103.2 SUSE-SU-2021:2858-1
SLES 15 SP2 qemu 4.2.1-11.28.1 SUSE-SU-2021:2789-1
SLES 15 SP1 qemu 3.1.1.1-80.40.1 SUSE-SU-2021:3614-1
SLES 15 qemu 2.11.2-70.59.1 SUSE-SU-2021:3613-1
SLES 12 SP5 qemu 3.1.1.1-57.2 SUSE-SU-2021:2813-1
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 qemu 2.11.2-5.40.2 SUSE-SU-2021:3635-1
SLES 12 SP2 qemu 2.6.2-41.73.1 SUSE-SU-2021:3575-1
SLES 11 SP4 xen 4.4.4_50-61.67.1 SUSE-SU-2021:14848-1
SLES for SAP 15 SP1 qemu 3.1.1.1-80.40.1 SUSE-SU-2021:3614-1
SLES for SAP 15 qemu 2.11.2-70.59.1 SUSE-SU-2021:3613-1
SLES for SAP 12 SP5 qemu 3.1.1.1-57.2 SUSE-SU-2021:2813-1
SLES for SAP 12 SP4 qemu 2.11.2-5.40.2 SUSE-SU-2021:3635-1
SLE Micro 5.0 qemu 4.2.1-11.28.1 SUSE-SU-2021:2789-1
SLE HPC 15 SP1 qemu 3.1.1.1-80.40.1 SUSE-SU-2021:3614-1
SLE HPC 15 qemu 2.11.2-70.59.1 SUSE-SU-2021:3613-1
SUSE OpenStack Cloud Crowbar 9 qemu 2.11.2-5.40.2 SUSE-SU-2021:3635-1
SUSE OpenStack Cloud 9 qemu 2.11.2-5.40.2 SUSE-SU-2021:3635-1
SUSE Enterprise Storage 6 qemu 3.1.1.1-80.40.1 SUSE-SU-2021:3614-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed qemu 6.1.0-32.1 openSUSE-SU-2024:11287-1
openSUSE Leap 15.3 qemu 3.1.1.1-80.40.1 openSUSE-SU-2021:3614-1, openSUSE-SU-2021:2858-1, openSUSE-SU-2021:2789-1
openSUSE Leap 15.2 qemu +2 4.2.1-lp152.9.20.1 openSUSE-SU-2021:1202-1
ReleasePackageFixed inAdvisory
Alpine v3.24 qemu 6.1.0-r0 —
Alpine v3.23 qemu 6.1.0-r0 —
Alpine v3.22 qemu 6.1.0-r0 —
Alpine v3.21 qemu 6.1.0-r0 —
Alpine v3.20 qemu 6.1.0-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 qemu 6.1.0-r0 —
Alpine v3.18 qemu 6.1.0-r0 —
Alpine v3.17 qemu 6.1.0-r0 —
Alpine v3.16 qemu 6.1.0-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) qemu 6.2.0-2 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 hivex +4 1.3.18-21.module+el8.5.0+20482+a450964e ELSA-2022-9172
Oracle Linux 8 libguestfs-winsupport 8.2-1.module+el8.5.0+20482+a450964e ELSA-2022-9172
Oracle Linux 8 libiscsi +2 1.18.0-8.module+el8.5.0+20482+a450964e ELSA-2022-9172
Oracle Linux 8 libnbd +3 1.2.2-1.module+el8.5.0+20482+a450964e ELSA-2022-9172
Oracle Linux 8 libvirt +29 5.7.0-32.module+el8.5.0+20482+a450964e ELSA-2022-9172
Oracle Linux 8 libvirt-dbus 1.3.0-2.module+el8.5.0+20482+a450964e ELSA-2022-9172
Oracle Linux 8 nbdkit +13 1.16.2-4.0.1.module+el8.5.0+20482+a450964e ELSA-2022-9172
Oracle Linux 8 netcf +2 0.2.8-12.module+el8.5.0+20482+a450964e ELSA-2022-9172
Oracle Linux 8 perl-Sys-Virt 4.5.0-5.module+el8.5.0+20482+a450964e ELSA-2022-9172
Oracle Linux 8 qemu-img +9 15:4.2.1-15.module+el8.5.0+20482+a450964e ELSA-2022-9172
Oracle Linux 8 seabios +2 1.13.0-2.module+el8.5.0+20482+a450964e ELSA-2022-9172
Oracle Linux 8 sgabios +1 1:0.20170427git-3.module+el8.5.0+20482+a450964e ELSA-2022-9172
Oracle Linux 8 supermin +1 5.1.19-10.module+el8.5.0+20482+a450964e ELSA-2022-9172
Oracle Linux 8 virt-dib +23 1:1.40.2-28.0.1.module+el8.5.0+20482+a450964e ELSA-2022-9172
Oracle Linux 7 qemu +11 15:4.2.1-13.el7 ELSA-2021-9638

Advisories 25

References