CVE-2021-4207

high

Description

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.

References

https://www.debian.org/security/2022/dsa-5133

https://security.gentoo.org/glsa/202208-27

https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html

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

Details

Source: Mitre, NVD

Published: 2022-04-29

Updated: 2023-11-07

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 8.2

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

Severity: High