Unchecked Return Value Affecting libguestfs/libnbd package, versions [,1.11.8)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (27th 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-UNMANAGED-LIBGUESTFSLIBNBD-3009194
  • published30 Aug 2022
  • disclosed30 Aug 2022
  • creditNir Soffer

Introduced: 30 Aug 2022

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

How to fix?

Upgrade libguestfs/libnbd to version 1.11.8 or higher.

Overview

Affected versions of this package are vulnerable to Unchecked Return Value 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.

CVSS Base Scores

version 3.1