---
title: "CVE-2021-3527"
canonical_url: "https://pkgseek.com/security/CVE-2021-3527"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2021-3527

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.

CVE-2021-3527 严重级别为 MEDIUM (5.5)，共索引 15 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: MEDIUM (5.5)
- **受影响构建数**: 15
- **涉及发行版**: 1
- **已标明修复版本发行版**: Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | qemu | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-block-extra | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-kvm | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system-arm | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system-common | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system-data | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system-gui | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system-mips | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system-misc | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system-ppc | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system-s390x | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system-sparc | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-system-x86 | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
| Ubuntu | focal | qemu-utils | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.17 |
