CVE-2022-0485: Medium severity red hat libnbd vulnerability

Published Jan 27, 2022
·
Updated

A flaw was found in nbdcopy. When copying from NBD server using the asynchronous copy mode (default) nbdcopy may create a corrupted destination image if read or write NBD command start but the server returns an error. nbdcopy also exits with zero exit code, so programs running it cannot detect that the operation failed.

Upstream patch proposed: https://listman.redhat.com/archives/libguestfs/2022-February/msg00039.html

Other sources

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 Software

3 affected componentsFixes available
redhat/libnbd<1.11.8
1.11.8
redhat libnbd<1.11.8
redhat Enterprise Linux=8.0

Remediation

Information

Use of `nbdcopy --synchronous` will avoid undetected data corruption, but comes at a potential performance cost by avoiding the speed benefits of asynchronous operations. See the upstream security advisory for more information.

Event History

Jan 27, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 29, 2022
CVE Published
via MITRE·02:03 PM
Data Sourced
via MITRE·02:03 PM
DescriptionWeakness

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2022-0485?

CVE-2022-0485 is a vulnerability found in the copying tool `nbdcopy` of libnbd.

2

What is the severity of CVE-2022-0485?

The severity of CVE-2022-0485 is medium (4).

3

How does CVE-2022-0485 affect libnbd?

CVE-2022-0485 affects libnbd version 1.11.8 and earlier.

4

How can I fix CVE-2022-0485?

To fix CVE-2022-0485, update libnbd to version 1.11.8 or later.

5

What is the CWE ID of CVE-2022-0485?

The CWE ID of CVE-2022-0485 is CWE-252.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203