CVE-2021-3682

HIGHCVSS 8.5/10EPSS 2.90%

Last modified

CVE-2021-3682 is a high-severity vulnerability rated 8.5/10 on the CVSS scale. 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. EPSS estimates a 2.90% chance of exploitation in the next 30 days.

Description

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.

Metrics

CVSS 3.1
8.5/10

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

EPSS Probability
2.90%

85.2th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
QemuQemu< 6.1.0
QemuQemu6.1.0Rc1
RedhatEnterprise Linux8.0
DebianDebian Linux9.0
DebianDebian Linux10.0
DebianDebian Linux11.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2021-3682?
CVE-2021-3682 has a CVSS score of 8.5/10 (HIGH severity). The EPSS model estimates a 2.90% probability of exploitation in the next 30 days.
How do I fix CVE-2021-3682?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-3682?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST