PT-2021-5461 · Qemu+5 · Qemu+5

Mauro Matteo Cascella

·

Published

2021-08-17

·

Updated

2024-06-15

·

CVE-2021-3713

CVSS v3.1

7.4

High

VectorAV:P/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions QEMU versions prior to 6.2.0-rc0
Description The issue is related to the UAS (USB Attached SCSI) device emulation of QEMU, where a lack of validation of the stream number can be exploited. This allows an attacker to access confidential data, compromise its integrity, and potentially cause a denial of service. 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. 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.
Recommendations For QEMU versions prior to 6.2.0-rc0, update to version 6.2.0-rc0 or later to resolve the issue. As a temporary workaround, consider restricting access to the UAS device emulation to minimize the risk of exploitation. Avoid using the stream number variable in the affected UAS device emulation until the issue is resolved.

Exploit

Fix

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2021-2713
ALT-PU-2021-3363
ALT-PU-2021-3585
ALT-PU-2022-1412
ALT-PU-2022-3390
AZL-6831
BDU:2021-06306
CVE-2021-3713
DLA-2753-1
DLA-3099-1
DSA-4980-1
OESA-2021-1348
OPENSUSE-SU-2021:1461-1
OPENSUSE-SU-2021:3604-1
OPENSUSE-SU-2021:3605-1
OPENSUSE-SU-2021:3614-1
OPENSUSE-SU-2021_1461-1
OPENSUSE-SU-2021_3604-1
OPENSUSE-SU-2021_3605-1
OPENSUSE-SU-2021_3614-1
OPENSUSE-SU-2024:11597-1
SUSE-SU-2021:3519-1
SUSE-SU-2021:3604-1
SUSE-SU-2021:3605-1
SUSE-SU-2021:3613-1
SUSE-SU-2021:3614-1
SUSE-SU-2021:3635-1
SUSE-SU-2021:3653-1
SUSE-SU-2021_3519-1
SUSE-SU-2021_3604-1
SUSE-SU-2021_3605-1
SUSE-SU-2021_3653-1
USN-5307-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Qemu
Suse
Ubuntu