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
Link | Resource |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=2050324 | Issue Tracking Vendor Advisory |
https://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html | Patch Vendor Advisory |
https://access.redhat.com/security/cve/CVE-2022-0485 | Vendor Advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=2046194 | Exploit Issue Tracking Vendor Advisory |
https://gitlab.com/nbdkit/libnbd/-/commit/8d444b41d09a700c7ee6f9182a649f3f2d325abb | Patch Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Information
Published : 2022-08-29 08:15
Updated : 2022-12-01 07:15
NVD link : CVE-2022-0485
Mitre link : CVE-2022-0485
JSON object : View
CWE
CWE-252
Unchecked Return Value
Products Affected
redhat
- libnbd
- enterprise_linux