CVE-2022-0485

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:redhat:libnbd:*:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:advanced_virtualization:*:*:*

History

21 Nov 2024, 06:38

Type Values Removed Values Added
References () https://access.redhat.com/security/cve/CVE-2022-0485 - Vendor Advisory () https://access.redhat.com/security/cve/CVE-2022-0485 - Vendor Advisory
References () https://bugzilla.redhat.com/show_bug.cgi?id=2046194 - Exploit, Issue Tracking, Vendor Advisory () https://bugzilla.redhat.com/show_bug.cgi?id=2046194 - Exploit, Issue Tracking, Vendor Advisory
References () https://bugzilla.redhat.com/show_bug.cgi?id=2050324 - Issue Tracking, Vendor Advisory () https://bugzilla.redhat.com/show_bug.cgi?id=2050324 - Issue Tracking, Vendor Advisory
References () https://gitlab.com/nbdkit/libnbd/-/commit/8d444b41d09a700c7ee6f9182a649f3f2d325abb - Patch, Third Party Advisory () https://gitlab.com/nbdkit/libnbd/-/commit/8d444b41d09a700c7ee6f9182a649f3f2d325abb - Patch, Third Party Advisory
References () https://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html - Patch, Vendor Advisory () https://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html - Patch, Vendor Advisory

Information

Published : 2022-08-29 15:15

Updated : 2024-11-21 06:38


NVD link : CVE-2022-0485

Mitre link : CVE-2022-0485

CVE.ORG link : CVE-2022-0485


JSON object : View

Products Affected

redhat

  • libnbd
  • enterprise_linux
CWE
CWE-252

Unchecked Return Value