CVE-2021-20221

Publication date 13 May 2021

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

6.0 · Medium

Score breakdown

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.

Status

Package Ubuntu Release Status
qemu 24.10 oracular
Fixed 1:5.2+dfsg-6ubuntu2
24.04 LTS noble
Fixed 1:5.2+dfsg-6ubuntu2
23.10 mantic
Fixed 1:5.2+dfsg-6ubuntu2
23.04 lunar
Fixed 1:5.2+dfsg-6ubuntu2
22.10 kinetic
Fixed 1:5.2+dfsg-6ubuntu2
22.04 LTS jammy
Fixed 1:5.2+dfsg-6ubuntu2
21.10 impish
Fixed 1:5.2+dfsg-6ubuntu2
21.04 hirsute
Fixed 1:5.2+dfsg-6ubuntu2
20.10 groovy
Fixed 1:5.0-5ubuntu9.9
20.04 LTS focal
Fixed 1:4.2-3ubuntu6.17
18.04 LTS bionic
Fixed 1:2.11+dfsg-1ubuntu7.37
16.04 LTS xenial
Vulnerable
14.04 LTS trusty Ignored end of ESM support, was needed
qemu-kvm 24.10 oracular Not in release
24.04 LTS noble Not in release
23.10 mantic Not in release
23.04 lunar Not in release
22.10 kinetic Not in release
22.04 LTS jammy Not in release
21.10 impish Not in release
21.04 hirsute Not in release
20.10 groovy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
qemu

Severity score breakdown

Parameter Value
Base score 6.0 · Medium
Attack vector Local
Attack complexity Low
Privileges required High
User interaction None
Scope Changed
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H

References

Related Ubuntu Security Notices (USN)

Other references