Release of invalid pointer or reference in QEMU - CVE-2021-3682

 

Release of invalid pointer or reference in QEMU - CVE-2021-3682

Published: May 30, 2022


Vulnerability identifier: #VU63778
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-3682
CWE-ID: CWE-763
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: QEMU
Affected software:
QEMU

Detailed vulnerability description

The vulnerability allows a remote user to escalate privileges on the system.

The vulnerability exists in the USB redirector device emulation of QEMU when dropping packets during a bulk transfer from a SPICE client. A remote user can make QEMU call free() with faked heap chunk metadata to perform a denial of service or escalate privileges on the system.


How to mitigate CVE-2021-3682

Install updates from vendor's website.

Sources