CVE Vulnerabilities

CVE-2022-0485

Unchecked Return Value

Published: Aug 29, 2022 | Modified: Dec 01, 2022
CVSS 3.x
4.8
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.

Affected Software

Name Vendor Start Version End Version
Libnbd Redhat * 1.11.8 (excluding)
Enterprise_linux Redhat 8.0 (including) 8.0 (including)

Potential Mitigations

References