6.0
MEDIUM
CVE-2021-20221
QEMU ARM Generic Interrupt Controller Emulator Out-of-Bounds Heap Buffer Access Vulnerability
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.

INFO

Published Date :

May 13, 2021, 4:15 p.m.

Last Modified :

Nov. 7, 2023, 3:29 a.m.

Remotely Exploitable :

No

Impact Score :

4.0

Exploitability Score :

1.5
Affected Products

The following products are affected by CVE-2021-20221 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
1 Debian debian_linux
1 Qemu qemu
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-20221.

URL Resource
http://www.openwall.com/lists/oss-security/2021/02/05/1 Mailing List Patch Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1924601 Issue Tracking Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/02/msg00024.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html Mailing List Third Party Advisory
https://security.netapp.com/advisory/ntap-20210708-0005/ Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-20221 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-20221 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Removed CWE Red Hat, Inc. CWE-787
  • CVE Modified by [email protected]

    Feb. 12, 2023

    Action Type Old Value New Value
    Changed Description An out-of-bounds heap buffer access issue was found in the ARM Generic Interrupt Controller emulator of QEMU on 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. 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.
    Removed CVSS V3.1 Red Hat, Inc. AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:N/A:L
    Removed Reference https://access.redhat.com/errata/RHSA-2021:1125 [No Types Assigned]
    Removed Reference https://access.redhat.com/errata/RHSA-2021:2521 [No Types Assigned]
    Removed Reference https://access.redhat.com/errata/RHSA-2021:3061 [No Types Assigned]
    Removed Reference https://access.redhat.com/security/cve/CVE-2021-20221 [No Types Assigned]
    Removed Reference https://bugs.launchpad.net/qemu/+bug/1914353 [No Types Assigned]
    Removed Reference https://www.openwall.com/lists/oss-security/2021/02/05/1 [No Types Assigned]
    Added CWE Red Hat, Inc. CWE-125
    Added CWE Red Hat, Inc. CWE-787
  • CVE Modified by [email protected]

    Feb. 02, 2023

    Action Type Old Value New Value
    Changed 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. An out-of-bounds heap buffer access issue was found in the ARM Generic Interrupt Controller emulator of QEMU on 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.
    Added CVSS V3.1 Red Hat, Inc. AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:N/A:L
    Added Reference https://access.redhat.com/errata/RHSA-2021:1125 [No Types Assigned]
    Added Reference https://bugs.launchpad.net/qemu/+bug/1914353 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2021:3061 [No Types Assigned]
    Added Reference https://www.openwall.com/lists/oss-security/2021/02/05/1 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2021:2521 [No Types Assigned]
    Added Reference https://access.redhat.com/security/cve/CVE-2021-20221 [No Types Assigned]
    Removed CWE Red Hat, Inc. CWE-125
    Removed CWE Red Hat, Inc. CWE-787
    Removed CWE Reason CWE-125 / More specific CWE option available
  • Modified Analysis by [email protected]

    Sep. 30, 2022

    Action Type Old Value New Value
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html No Types Assigned https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html Mailing List, Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Sep. 05, 2022

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html [No Types Assigned]
  • Modified Analysis by [email protected]

    Dec. 10, 2021

    Action Type Old Value New Value
    Changed Reference Type https://security.netapp.com/advisory/ntap-20210708-0005/ No Types Assigned https://security.netapp.com/advisory/ntap-20210708-0005/ Third Party Advisory
    Added CWE NIST CWE-787
    Changed CPE Configuration OR *cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:* versions up to (including) 4.2.0 OR *cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:arm64:* versions up to (including) 4.2.0
  • CVE Modified by [email protected]

    Jul. 08, 2021

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20210708-0005/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Jun. 04, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:N/I:N/A:P)
    Added CVSS V3.1 NIST AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
    Changed Reference Type http://www.openwall.com/lists/oss-security/2021/02/05/1 No Types Assigned http://www.openwall.com/lists/oss-security/2021/02/05/1 Mailing List, Patch, Third Party Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1924601 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1924601 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2021/02/msg00024.html No Types Assigned https://lists.debian.org/debian-lts-announce/2021/02/msg00024.html Mailing List, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:* versions up to (including) 4.2.0
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:-:*:*:* *cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:advanced_virtualization:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-20221 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-20221 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} 0.00%

score

0.12065

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability