CVE-2021-3713
JSON

7.4high

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.

Severity
7.4high CVSS:3.1 by NVD
Exploit likelihood
0.55% (higher than 39% of CVEs)
Published
Last changed
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

Product or packageVersionsReported by
QEMUqemu 6.2.0-rc0CVE List
qemu qemuup to 6.1.0NVD
debian debian_linux9.0, 10.0, 11.0NVD

All scores

NVD7.4high CVSS:3.1CVSS:3.1/AV:P/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD4.6medium CVSS:2.0AV:L/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

NVD (es)

Se ha detectado un fallo de escritura fuera de límites en la emulación del dispositivo UAS (USB Attached SCSI) de QEMU en versiones anteriores a 6.2.0-rc0. El dispositivo usa el número de flujo suministrado por el huésped sin comprobar, lo que puede conllevar a un acceso fuera de límites a los campos UASDevice-)data3 y UASDevice-)status3. Un usuario invitado malicioso podría usar este fallo para bloquear QEMU o lograr potencialmente una ejecución de código con los privilegios del proceso QEMU en el host.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-3713 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-3713 changed 2026-06-17Public domain