Out-of-bounds Read Affecting virt-devel:rhel/libvirt-daemon-driver-storage-disk package, versions <0:6.0.0-35.1.module+el8.4.0+11273+64eb94ef


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (16th 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-4076773
  • published26 Jul 2021
  • disclosed2 Feb 2021

Introduced: 2 Feb 2021

CVE-2021-20221  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade RHEL:8 virt-devel:rhel/libvirt-daemon-driver-storage-disk to version 0:6.0.0-35.1.module+el8.4.0+11273+64eb94ef or higher.
This issue was patched in RHSA-2021:3061.

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.

An out-of-bounds heap buffer access issue was found in the ARM Generic Interrupt Controller emulator of QEMU up to and including qemu 4.2.0on aarch64 platform. The issue occurs because while writing an interrupt ID to the controller memory area, it is not masked to be 4 bits wide. It may lead to the said issue while updating controller state fields and their subsequent processing. A privileged guest user may use this flaw to crash the QEMU process on the host resulting in DoS scenario.

CVSS Scores

version 3.1