CVE-2021-4207

A flaw was found in the QXL display device emulation in QEMU. A double fetch of guest controlled values `cursor->header.width` and `cursor->header.height` can lead to the allocation of a small cursor object followed by a subsequent heap-based buffer overflow. A malicious privileged guest user could use this flaw to crash the QEMU process on the host or potentially execute arbitrary code within the context of the QEMU process.
Configurations

Configuration 1 (hide)

cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:-:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:advanced_virtualization:*:*:*

Configuration 3 (hide)

OR cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

21 Nov 2024, 06:37

Type Values Removed Values Added
References () https://bugzilla.redhat.com/show_bug.cgi?id=2036966 - Issue Tracking, Third Party Advisory () https://bugzilla.redhat.com/show_bug.cgi?id=2036966 - Issue Tracking, Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html - Mailing List, Third Party Advisory
References () https://security.gentoo.org/glsa/202208-27 - Third Party Advisory () https://security.gentoo.org/glsa/202208-27 - Third Party Advisory
References () https://starlabs.sg/advisories/21-4207/ - Exploit, Third Party Advisory () https://starlabs.sg/advisories/21-4207/ - Exploit, Third Party Advisory
References () https://www.debian.org/security/2022/dsa-5133 - Third Party Advisory () https://www.debian.org/security/2022/dsa-5133 - Third Party Advisory

Information

Published : 2022-04-29 17:15

Updated : 2024-11-21 06:37


NVD link : CVE-2021-4207

Mitre link : CVE-2021-4207

CVE.ORG link : CVE-2021-4207


JSON object : View

Products Affected

qemu

  • qemu

debian

  • debian_linux

redhat

  • enterprise_linux
CWE
CWE-362

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

CWE-120

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')