Use-After-Free Vulnerability in QEMU's Virtio-Net Device
CVE-2021-3748
Key facts: CVE-2021-3748 is a high severity (CVSS 7.5) vulnerability in QEMU (virtio-net). No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.5%, the estimated probability of exploitation in the next 30 days.
What is CVE-2021-3748?
A use-after-free vulnerability exists within the virtio-net device of QEMU, potentially triggered when a descriptor's address falls within the non-direct access region. This occurs if the 'num_buffers' parameter is incorrectly set after the virtqueue element is unmapped. An attacker exploiting this flaw could crash the QEMU instance, resulting in a denial of service, and in certain conditions, may gain the ability to execute arbitrary code on the host system with the privileges of the QEMU process.
Affected Version(s)
QEMU (virtio-net) Affects qemu v0.10.0 and above, Fixed In – v6.2.0-rc0 and above.
