CVE-2021-3527

Publication date 26 May 2021

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

5.5 · Medium

Score breakdown

A flaw was found in the USB redirector device (usb-redir) of QEMU. Small USB packets are combined into a single, large transfer request, to reduce the overhead and improve performance. The combined size of the bulk transfer is used to dynamically allocate a variable length array (VLA) on the stack without proper validation. Since the total size is not bounded, a malicious guest could use this flaw to influence the array length and cause the QEMU process to perform an excessive allocation on the stack, resulting in a denial of service.

Status

Package Ubuntu Release Status
qemu 24.10 oracular
Fixed 1:6.0+dfsg-2expubuntu1
24.04 LTS noble
Fixed 1:6.0+dfsg-2expubuntu1
23.10 mantic
Fixed 1:6.0+dfsg-2expubuntu1
23.04 lunar
Fixed 1:6.0+dfsg-2expubuntu1
22.10 kinetic
Fixed 1:6.0+dfsg-2expubuntu1
22.04 LTS jammy
Fixed 1:6.0+dfsg-2expubuntu1
21.10 impish
Fixed 1:6.0+dfsg-2expubuntu1
21.04 hirsute
Fixed 1:5.2+dfsg-9ubuntu3.1
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
Vulnerable
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 5.5 · Medium
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H