CVE-2021-3682

high

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.

References

https://bugzilla.redhat.com/show_bug.cgi?id=1989651

https://security.netapp.com/advisory/ntap-20210902-0006/

https://lists.debian.org/debian-lts-announce/2021/09/msg00000.html

https://www.debian.org/security/2021/dsa-4980

Details

Source: MITRE

Published: 2021-08-05

Updated: 2021-10-18

Type: CWE-763

Risk Information

CVSS v2

Base Score: 6

Vector: AV:N/AC:M/Au:S/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 6.8

Severity: MEDIUM

CVSS v3

Base Score: 8.5

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

Impact Score: 6

Exploitability Score: 1.8

Severity: HIGH