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 package | Versions | Reported by |
|---|---|---|
| QEMU | qemu 6.2.0-rc0 | CVE List |
| qemu qemu | up to 6.1.0 | NVD |
| debian debian_linux | 9.0, 10.0, 11.0 | NVD |
All scores
| NVD | 7.4high CVSS:3.1 | CVSS:3.1/AV:P/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 4.6medium CVSS:2.0 | AV: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
| https://bugzilla.redhat.com/show_bug.cgi?id=1994640 | issue-tracking, patch, third-party-advisory | |
| https://lists.debian.org/debian-lts-announce/2021/09/msg00000.html | mailing-list, third-party-advisory | |
| https://security.netapp.com/advisory/ntap-20210923-0006/ | third-party-advisory | |
| https://www.debian.org/security/2021/dsa-4980 | third-party-advisory, vendor-advisory | |
| https://security.gentoo.org/glsa/202208-27 | third-party-advisory, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html | mailing-list, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-3713 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-3713 changed 2026-06-17 | Public domain |