Skip to content
OpenAdvisories
Unscored CVE-2021-3713 EUVD-2021-26994GHSA-q4w6-2g7p-pr2c

An out-of-bounds write flaw was found in the UAS (USB Attached SCSI) device emulation of QEMU in versions prior to 6.2.0-rc0. The device us…

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

Description

An out-of-bounds write flaw was found in the UAS (USB Attached SCSI) device emulation of QEMU in versions prior to 6.2.0-rc0. The device uses the guest supplied stream number unchecked, which can lead to out-of-bounds access to the UASDevice->data3 and UASDevice->status3 fields. A malicious guest user could use this flaw to crash QEMU or potentially achieve code execution with the privileges of the QEMU process on the host.

Affected products

VendorProductAffectedFixed
— QEMU qemu 6.2.0-rc0 —

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.1+dfsg-2 —
Debian 13 qemu 1:6.1+dfsg-2 —
Debian 12 qemu 1:6.1+dfsg-2 —
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 —
Ubuntu 20.04 LTS qemu 1:4.2-3ubuntu6.21 USN-5307-1
Ubuntu 18.04 LTS qemu 1:2.11+dfsg-1ubuntu7.39 USN-5307-1
ReleasePackageFixed inAdvisory
SLES 15 SP3 qemu 5.2.0-106.4 SUSE-SU-2021:3605-1
SLES 15 SP2 qemu 4.2.1-11.31.3 SUSE-SU-2021:3604-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-60.2 SUSE-SU-2021:3519-1
Show 17 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 SP3 qemu 2.9.1-43.62.1 SUSE-SU-2021:3653-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-60.2 SUSE-SU-2021:3519-1
SLES for SAP 12 SP4 qemu 2.11.2-5.40.2 SUSE-SU-2021:3635-1
SLES for SAP 12 SP3 qemu 2.9.1-43.62.1 SUSE-SU-2021:3653-1
SLE Micro 5.1 qemu 5.2.0-106.4 SUSE-SU-2021:3605-1
SLE Micro 5.0 qemu 4.2.1-11.31.3 SUSE-SU-2021:3604-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 Crowbar 8 qemu 2.9.1-43.62.1 SUSE-SU-2021:3653-1
SUSE OpenStack Cloud 9 qemu 2.11.2-5.40.2 SUSE-SU-2021:3635-1
SUSE OpenStack Cloud 8 qemu 2.9.1-43.62.1 SUSE-SU-2021:3653-1
SUSE HPE Helion OpenStack 8 qemu 2.9.1-43.62.1 SUSE-SU-2021:3653-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-34.1 openSUSE-SU-2024:11597-1
openSUSE Leap 15.3 qemu 3.1.1.1-80.40.1 openSUSE-SU-2021:3614-1, openSUSE-SU-2021:3605-1, openSUSE-SU-2021:3604-1
openSUSE Leap 15.3 qemu-testsuite +1 5.2.0-106.3 openSUSE-SU-2021:3605-1
openSUSE Leap 15.2 qemu +2 4.2.1-lp152.9.23.1 openSUSE-SU-2021:1461-1
ReleasePackageFixed inAdvisory
Alpine v3.15 qemu 6.1.1-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 19

References