Unchecked Return Value Affecting libvirt package, versions <0:8.0.0-5.module+el8.6.0+847+b490afdd


Severity

Recommended
0.0
medium
0
10

Based on Rocky 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-ROCKY8-LIBVIRT-3221710
  • published5 Jan 2023
  • disclosed29 Aug 2022

Introduced: 29 Aug 2022

CVE-2022-0485  (opens in a new tab)
CWE-252  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 libvirt to version 0:8.0.0-5.module+el8.6.0+847+b490afdd or higher.
This issue was patched in RLSA-2022:1759.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libvirt package and not the libvirt package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux: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