Skip to content

CVE-2021-3713 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...

HighCVSS 7.4 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

7 packages: 6 fixed.

PackageAffectedFixed inStatus
alpine/qemu(Alpine v3.15) < 6.1.1-r0 6.1.1-r0 Fixed
debian/qemu(Debian 12) < 1:6.1+dfsg-2 1:6.1+dfsg-2 Fixed
debian/qemu(Debian 13) < 1:6.1+dfsg-2 1:6.1+dfsg-2 Fixed
debian/qemu(Debian 14) < 1:6.1+dfsg-2 1:6.1+dfsg-2 Fixed
qemu <= 6.1.0 after 6.1.0 Fixed
ubuntu/qemu(Ubuntu 22.04) < 1:6.2+dfsg-2ubuntu5; = 1:6.0+dfsg-2expubuntu1; = 1:6.0+dfsg-2expubuntu2; = 1:6.0+dfsg-2expubuntu4 1:6.2+dfsg-2ubuntu5 Fixed
debian linux = 9.0; = 10.0; = 11.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
ubuntu/qemu(Ubuntu:22.04) < 1:6.2+dfsg-2ubuntu5 1:6.2+dfsg-2ubuntu5
debian/qemu(Debian:12) < 1:6.1+dfsg-2 1:6.1+dfsg-2
debian/qemu(Debian:13) < 1:6.1+dfsg-2 1:6.1+dfsg-2
debian/qemu(Debian:14) < 1:6.1+dfsg-2 1:6.1+dfsg-2
qemu <= 6.1.0 No fix listed
debian linux = 9.0 No fix listed
debian linux = 10.0 No fix listed
debian linux = 11.0 No fix listed
alpine/qemu(Alpine:v3.15) < 6.1.1-r0 6.1.1-r0
ubuntu/qemu(Ubuntu:22.04) = 1:6.0+dfsg-2expubuntu1 No fix listed
ubuntu/qemu(Ubuntu:22.04) = 1:6.0+dfsg-2expubuntu2 No fix listed
ubuntu/qemu(Ubuntu:22.04) = 1:6.0+dfsg-2expubuntu4 No fix listed

References