CVE-2021-3682

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
8.5 HIGH
NETWORK
HIGH
LOW
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
redhatCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 64%
VendorProductVersion
qemuqemu
𝑥
< 6.1.0
qemuqemu
6.1.0:rc1
redhatenterprise_linux
8.0
redhatenterprise_linux
8.0
debiandebian_linux
9.0
debiandebian_linux
10.0
debiandebian_linux
11.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
qemu
bullseye
1:5.2+dfsg-11+deb11u3
fixed
bullseye (security)
1:5.2+dfsg-11+deb11u2
fixed
bookworm
1:7.2+dfsg-7+deb12u7
fixed
sid
1:9.1.1+ds-2
fixed
trixie
1:9.1.1+ds-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
qemu
kinetic
Fixed 1:6.2+dfsg-2ubuntu5
released
jammy
Fixed 1:6.2+dfsg-2ubuntu5
released
impish
Fixed 1:6.0+dfsg-2expubuntu1.2
released
hirsute
ignored
focal
Fixed 1:4.2-3ubuntu6.21
released
bionic
Fixed 1:2.11+dfsg-1ubuntu7.39
released
xenial
Fixed 1:2.5+dfsg-5ubuntu10.51+esm1
released
trusty
Fixed 2.0.0+dfsg-2ubuntu1.47+esm2
released