Heap-Based Buffer Overflow in QEMU Due to Flaw in QXL Display Device Emulation
CVE-2021-4207
8.2HIGH
Key facts: CVE-2021-4207 is a high severity (CVSS 8.2) vulnerability in QEMU. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.3%, the estimated probability of exploitation in the next 30 days.
What is CVE-2021-4207?
A vulnerability has been identified in the QXL display device emulation within QEMU, where double fetching of guest-controlled values for cursor dimensions can lead to a heap-based buffer overflow. An attacker with privileged access in the guest environment may exploit this issue to cause the QEMU process on the host to crash or to execute arbitrary code within the QEMU process, posing significant risks to the host system's integrity and security.
Affected Version(s)
QEMU qemu-kvm 7.0.0
References
https://bugzilla.redhat.com/show_bug.cgi?id=2036966
x_refsource_MISC
https://starlabs.sg/advisories/21-4207/
x_refsource_MISC
https://www.debian.org/security/2022/dsa-5133
vendor-advisoryx_refsource_DEBIAN
