First published: Thu Jan 27 2022(Updated: )
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.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Redhat Libnbd | <1.11.8 | |
Redhat Enterprise Linux | =8.0 |
Use of `nbdcopy --synchronous` will avoid undetected data corruption, but comes at a potential performance cost by avoiding the speed benefits of asynchronous operations. See the upstream security advisory for more information.
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)
CVE-2022-0485 is a vulnerability found in the copying tool `nbdcopy` of libnbd.
The severity of CVE-2022-0485 is medium (4).
CVE-2022-0485 affects libnbd version 1.11.8 and earlier.
To fix CVE-2022-0485, update libnbd to version 1.11.8 or later.
The CWE ID of CVE-2022-0485 is CWE-252.