Unchecked Return Value 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.17% (55th 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-4219411
  • published4 Feb 2022
  • disclosed27 Jan 2022

Introduced: 27 Jan 2022

CVE-2022-0485  (opens in a new tab)
CWE-252  (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 flaw was found in the copying tool nbdcopy of libnbd. When performing multi-threaded copies using asynchronous nbd calls, nbdcopy was blindly treating the completion of an asynchronous command as successful, rather than checking the *error parameter. This could result in the silent creation of a corrupted destination image.

CVSS Scores

version 3.1