medium4.8
CVE-2022-0485
A flaw was found in the copying tool `nbdcopy` of libnbd.
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Libnbd | before 1.11.8 |
| Redhat | Enterprise Linux | Version 8.0 |
Weakness classification
References
- NVD record
- CVE.org record
- https://access.redhat.com/security/cve/CVE-2022-0485
- https://bugzilla.redhat.com/show_bug.cgi?id=2046194
- https://bugzilla.redhat.com/show_bug.cgi?id=2050324
- https://gitlab.com/nbdkit/libnbd/-/commit/8d444b41d09a700c7ee6f9182a649f3f2d325abb
- https://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html
- https://access.redhat.com/security/cve/CVE-2022-0485
- https://bugzilla.redhat.com/show_bug.cgi?id=2046194
- https://bugzilla.redhat.com/show_bug.cgi?id=2050324
- https://gitlab.com/nbdkit/libnbd/-/commit/8d444b41d09a700c7ee6f9182a649f3f2d325abb
- https://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html