What’s Vulnerable › Vulnerabilities
CVE-2022-0485
- Severity: medium (CVSS 4.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-08-29 · updated 2026-06-17
- Weakness: CWE-252
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.
Affected products
- Red Hat Enterprise Linux: 8.0
- [UNKNOWN] libnbd: before 1.11.8 — fixed in 1.11.8
How to fix
Upgrade to a fixed version: [UNKNOWN] libnbd 1.11.8. Check the vendor advisory for mitigations.
References
- 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
Get alerted when CVE-2022-0485 or the next vulnerability affects your stack