CVE-2022-0485 Details
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.
A vulnerability exists in the libnbd copying tool nbdcopy, specifically in versions through 1.10.3. When nbdcopy performs multi-threaded copies using asynchronous NBD calls, it improperly assumes the completion of these commands is successful without verifying for errors. This oversight can cause silent data corruption in the destination image. The issue arises when read or write commands encounter errors, leading nbdcopy to exit with a zero status, masking the failure.
Users can update to libnbd version 1.10.5 or later, where this vulnerability has been fixed. Instructions for downloading the updated version can be found on the Red Hat Customer Portal.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2022-0485 | CVE | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2046194 | CVE | ExploitIssue TrackingVendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2050324 | CVE | Issue TrackingVendor Advisory |
| https://gitlab.com/nbdkit/libnbd/-/commit/8d444b41d09a700c7ee6f9182a649f3f2d325abb | CVE | PatchThird Party Advisory |
| https://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html | CVE | PatchVendor Advisory |
| https://access.redhat.com/security/cve/CVE-2022-0485 | [email protected] | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2046194 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2050324 | [email protected] | Issue TrackingVendor Advisory |
| https://gitlab.com/nbdkit/libnbd/-/commit/8d444b41d09a700c7ee6f9182a649f3f2d325abb | [email protected] | PatchThird Party Advisory |
| https://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-252 | Unchecked Return Value | [email protected] |
| CWE-252 | Unchecked Return Value | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| redhat libnbd | < 1.11.8 |
CPE
Remediation
| |
| redhat enterprise linux | 8.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Dec 1, 2022 | Reanalysis | [email protected] |
| Sep 1, 2022 | Initial Analysis | [email protected] |