NULL Pointer Dereference Affecting virt-devel:rhel/libvirt-daemon-driver-storage-disk package, versions <0:8.0.0-5.module+el8.6.0+14480+c0a3aa0f


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (6th 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 Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-VIRTDEVEL-4237998
  • published22 Dec 2021
  • disclosed10 Dec 2021

Introduced: 10 Dec 2021

CVE-2021-4145  (opens in a new tab)
CWE-476  (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.module+el8.6.0+14480+c0a3aa0f or higher.
This issue was patched in RHSA-2022:1759.

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 NULL pointer dereference issue was found in the block mirror layer of QEMU in versions prior to 6.2.0. The self pointer is dereferenced in mirror_wait_on_conflicts() without ensuring that it's not NULL. A malicious unprivileged user within the guest could use this flaw to crash the QEMU process on the host when writing data reaches the threshold of mirroring node.

CVSS Scores

version 3.1