CVE-2022-0485
MEDIUMlibnbd - Unchecked Return Value in nbdcopy Multi-threaded Copy Operation
Title source: llmDescription
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.
References (5)
Core 5
Core References
Exploit, Issue Tracking, Vendor Advisory x_refsource_misc
https://bugzilla.redhat.com/show_bug.cgi?id=2046194
Issue Tracking, Vendor Advisory x_refsource_misc
https://bugzilla.redhat.com/show_bug.cgi?id=2050324
Patch, Vendor Advisory x_refsource_misc
https://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html
Patch, Third Party Advisory x_refsource_misc
https://gitlab.com/nbdkit/libnbd/-/commit/8d444b41d09a700c7ee6f9182a649f3f2d325abb
Vendor Advisory x_refsource_misc
https://access.redhat.com/security/cve/CVE-2022-0485
Scores
CVSS v3
4.8
EPSS
0.0076
EPSS Percentile
50.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Details
CWE
CWE-252
Status
published
Products (2)
redhat/enterprise_linux
8.0
redhat/libnbd
< 1.11.8
Published
Aug 29, 2022
Tracked Since
Feb 18, 2026