CVE intelligence and bounded remediation
CVE-2021-3682 — A flaw was found in the USB redirector device emulation of QEMU in versions prior to 6.1.0-rc2
High
CVSS 8.5
A flaw was found in the USB redirector device emulation of QEMU in versions prior to 6.1.0-rc2. It occurs when dropping packets during a bulk transfer from a SPICE client due to the packet queue being full. A malicious SPICE client could use this flaw to make QEMU call free() with faked heap chunk metadata, resulting in a crash of QEMU or potential code execution with the privileges of the QEMU process on the host.
- Severity
- High
- CVSS
- 8.5 (3.1)
- Published
- 2021-08-05
- CISA KEV
- Not currently listed
- Ecosystem
- software/application
- Weaknesses
- CWE-763
Affected products
- qemu / qemu
- qemu / qemu / 6.1.0
- redhat / enterprise_linux / 8.0
- debian / debian_linux / 9.0
- debian / debian_linux / 10.0
- debian / debian_linux / 11.0
Matched remediation archetype
General vulnerability remediation
This catalog composition supplies bounded fallback guidance. Explicitly reviewed curated workflows load with the complete record below.
Check exposure
- Confirm the affected component, deployment paths, reachable interfaces, and enabled features from inventories and configuration, without probing production destructively.
- Compare the advisory's affected conditions with the repository lockfiles, build manifests, artifacts, and runtime inventory.
- Identify data sensitivity, trust boundaries, and privilege level for every confirmed affected deployment.
Remediate safely
- Apply a vendor-supported fix or remove the affected component or feature; record the selected change and its source in the repository.
- Update direct and transitive dependency locks, generated artifacts, deployment manifests, and asset inventories together.
- Add a regression test for the documented unsafe condition using inert inputs and preserve rollback instructions.
Authoritative sources
Complete CVE record and remediation plan
The detailed catalog view below loads this exact record, its source evidence, and the full seven-phase agentic change plan.