CVE-2022-0485

libnbd: nbdcopy: missing error handling may create corrupted destination image

Published Aug 29, 2022 CVSS 3.1 · 4.8 Medium EPSS 1.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-15622 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 2, 2024, 11:32 PM
Reserved
Feb 3, 2022, 12:00 AM
Status
Modified
Published
Aug 29, 2022, 3:15 PM
Modified
Jun 17, 2026, 4:20 AM
Severity
Moderate
Public date
Jan 27, 2022, 12:00 AM