{"id":"CVE-2022-0485","state":"PUBLISHED","title":"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 asyn","description":"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.","publishedAt":"2022-08-29T14:03:04.000Z","updatedAt":"2024-08-02T23:32:45.848Z","severity":null,"assigner":"redhat","products":["n/a libnbd"],"affected":[{"vendor":"n/a","product":"libnbd","versions":[{"version":"Fixed in libnbd v1.11.8","status":"affected"}]}],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=2046194","https://bugzilla.redhat.com/show_bug.cgi?id=2050324","https://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html","https://gitlab.com/nbdkit/libnbd/-/commit/8d444b41d09a700c7ee6f9182a649f3f2d325abb","https://access.redhat.com/security/cve/CVE-2022-0485"],"weaknesses":["CWE-252"],"ingestedAt":"2026-10-29T19:49:26.075Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/0xxx/CVE-2022-0485.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-0485","state":"PUBLISHED","datePublished":"2022-08-29T14:03:04.000Z","dateUpdated":"2024-08-02T23:32:45.848Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2022-02-03T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"libnbd","versions":[{"version":"Fixed in libnbd v1.11.8","status":"affected"}]}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2046194","tags":["x_refsource_MISC"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2050324","tags":["x_refsource_MISC"]},{"url":"https://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html","tags":["x_refsource_MISC"]},{"url":"https://gitlab.com/nbdkit/libnbd/-/commit/8d444b41d09a700c7ee6f9182a649f3f2d325abb","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-0485","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-252","description":"CWE-252 - Unchecked Return Value.","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2022-08-29T14:03:04.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2022-0485","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"libnbd","version":{"version_data":[{"version_value":"Fixed in libnbd v1.11.8"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-252 - Unchecked Return Value."}]}]},"references":{"reference_data":[{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=2046194","refsource":"MISC","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2046194"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=2050324","refsource":"MISC","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2050324"},{"name":"https://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html","refsource":"MISC","url":"https://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html"},{"name":"https://gitlab.com/nbdkit/libnbd/-/commit/8d444b41d09a700c7ee6f9182a649f3f2d325abb","refsource":"MISC","url":"https://gitlab.com/nbdkit/libnbd/-/commit/8d444b41d09a700c7ee6f9182a649f3f2d325abb"},{"name":"https://access.redhat.com/security/cve/CVE-2022-0485","refsource":"MISC","url":"https://access.redhat.com/security/cve/CVE-2022-0485"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2046194","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2050324","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://gitlab.com/nbdkit/libnbd/-/commit/8d444b41d09a700c7ee6f9182a649f3f2d325abb","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-0485","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T23:32:45.848Z"}}]}}}