Race Condition Affecting virt-devel:rhel/libvirt-daemon-driver-storage-disk package, versions <0:8.0.0-5.2.module+el8.6.0+15256+3a0914fe


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.09% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-VIRTDEVEL-4300875
  • published2 Apr 2022
  • disclosed28 Mar 2022

Introduced: 28 Mar 2022

CVE-2021-4207  (opens in a new tab)
CWE-362  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade RHEL:8 virt-devel:rhel/libvirt-daemon-driver-storage-disk to version 0:8.0.0-5.2.module+el8.6.0+15256+3a0914fe or higher.
This issue was patched in RHSA-2022:5821.

NVD Description

Note: Versions mentioned in the description apply only to the upstream virt-devel:rhel/libvirt-daemon-driver-storage-disk package and not the virt-devel:rhel/libvirt-daemon-driver-storage-disk package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

A flaw was found in the QXL display device emulation in QEMU. A double fetch of guest controlled values cursor-&gt;header.width and cursor-&gt;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.

CVSS Scores

version 3.1