CVE-2021-20221
Reported by redhat · Published May 13, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| qemu | Ubuntu:18.04:LTS | 1:2.11+dfsg-1ubuntu7.37 |
| qemu | Ubuntu:20.04:LTS | 1:4.2-3ubuntu6.17 |
| qemu | qemu | 4.2.0 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | qemu | up to, including qemu 4.2.0 |
| n/a | qemu | up to, including qemu 4.2.0 |
| alpine | qemu | 0 |
Timeline
- Feb 2, 2021 CVE Published
- May 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 7, 2026 Distribution Patch (6 in total, the first dated here)
- Mar 7, 2026 Security Advisory (8 in total, the first dated here)
- Jun 29, 2026 CVE Updated
- Aug 27, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-20221
vulnetix vdb fixes CVE-2021-20221
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-20221/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [oss-security] 20210205 CVE-2021-20221 QEMU: aarch64: GIC: out-of-bound heap buffer access via an interrupt ID field mailing-listx_refsource_MLIST
- [debian-lts-announce] 20210218 [SECURITY] [DLA 2560-1] qemu security update mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_CONFIRM
- [debian-lts-announce] 20220905 [SECURITY] [DLA 3099-1] qemu security update mailing-listx_refsource_MLIST