6.0medium
An out-of-bounds heap buffer access issue was found in the ARM Generic Interrupt Controller emulator of QEMU up to and including qemu 4.2.0…
- Severity
- 6.0medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.32% (higher than 27% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
Description
An out-of-bounds heap buffer access issue was found in the ARM Generic Interrupt Controller emulator of QEMU up to and including qemu 4.2.0on aarch64 platform. The issue occurs because while writing an interrupt ID to the controller memory area, it is not masked to be 4 bits wide. It may lead to the said issue while updating controller state fields and their subsequent processing. A privileged guest user may use this flaw to crash the QEMU process on the host resulting in DoS scenario.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| qemu | up to, including qemu 4.2.0 | CVE List |
| qemu qemu | up to 4.2.0 | NVD |
| redhat enterprise_linux | 8.0 | NVD |
| debian debian_linux | 9.0, 10.0 | NVD |
All scores
| NVD | 6.0medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H |
| NVD | 2.1low CVSS:2.0 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
An out-of-bounds heap buffer access issue was found in the ARM Generic Interrupt Controller emulator of QEMU up to and including qemu 4.2.0on aarch64 platform. The issue occurs because while writing an interrupt ID to the controller memory area, it is not masked to be 4 bits wide. It may lead to the said issue while updating controller state fields and their subsequent processing. A privileged guest user may use this flaw to crash the QEMU process on the host resulting in DoS scenario.
NVD (es)
Se encontró un problema de acceso al búfer de pila fuera de límites en el emulador ARM Generic Interrupt Controller de QEMU hasta e incluyendo qemu versión 4.2.0 en la plataforma aarch64. El problema ocurre porque al escribir un ID de interrupción en el área de memoria del controlador, no está enmascarado para tener 4 bits de ancho. Puede conllevar a dicho problema al actualizar los campos de estado del controlador y su posterior procesamiento. Un usuario invitado privilegiado puede usar este fallo para bloquear el proceso QEMU en el host, resultando en un escenario DoS
References
| http://www.openwall.com/lists/oss-security/2021/02/05/1 | mailing-list, patch, third-party-advisory | |
| https://lists.debian.org/debian-lts-announce/2021/02/msg00024.html | mailing-list, third-party-advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1924601 | issue-tracking, patch, third-party-advisory | |
| https://security.netapp.com/advisory/ntap-20210708-0005/ | third-party-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-20221 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-20221 changed 2026-06-17 | Public domain |