Skip to content
OpenAdvisories
High · 7.4 CVE-2024-7383 EUVD-2024-48319GHSA-rqmr-f8r9-69wq

Libnbd: nbd server improper certificate validation

Published Aug 5, 2024 · Updated Nov 5, 2026 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
— libnbd 1.18.0 – < 1.18.5, 1.20.0 – < 1.20.2 1.18.5
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 8 Advanced Virtualization — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libnbd 1.20.2-1 —
Debian 13 libnbd 1.20.2-1 —
Debian 12 libnbd No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libnbd No fix yet —
Ubuntu 26.04 LTS libnbd No fix yet —
Ubuntu 25.10 libnbd No fix yet —
Ubuntu 24.04 LTS libnbd No fix yet —
Ubuntu 22.04 LTS libnbd No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libnbd No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 libnbd +6 1.18.1-4.el9_4 RHSA-2024:6757
RHEL 8 SLOF 20210217-2.module+el8.10.0+20141+6faa2812 RHSA-2024:6964
RHEL 8 hivex +6 1.3.18-23.module+el8.9.0+18724+20190c23 RHSA-2024:6964
RHEL 8 libguestfs-winsupport 8.10-1.module+el8.10.0+19908+9938c7c9 RHSA-2024:6964
RHEL 8 libiscsi +2 1.18.0-8.module+el8.9.0+18724+20190c23 RHSA-2024:6964
RHEL 8 libnbd +6 1.6.0-6.module+el8.10.0+22250+3c790083 RHSA-2024:6964
RHEL 8 libtpms +1 0.9.1-2.20211126git1ff6fe1f43.module+el8.9.0+18724+20190c23 RHSA-2024:6964
RHEL 8 libvirt +27 8.0.0-23.2.module+el8.10.0+21972+d7867348 RHSA-2024:6964
RHEL 8 libvirt-dbus 1.3.0-2.module+el8.9.0+18724+20190c23 RHSA-2024:6964
RHEL 8 libvirt-python +1 8.0.0-2.module+el8.9.0+18724+20190c23 RHSA-2024:6964
RHEL 8 nbdkit +18 1.24.0-5.module+el8.9.0+18724+20190c23 RHSA-2024:6964
RHEL 8 netcf +2 0.2.8-12.module+el8.9.0+18724+20190c23 RHSA-2024:6964
RHEL 8 perl-Sys-Virt 8.0.0-1.module+el8.9.0+18724+20190c23 RHSA-2024:6964
RHEL 8 qemu-img +14 15:6.2.0-53.module+el8.10.0+22268+f82ccd96 RHSA-2024:6964
RHEL 8 seabios +2 1.16.0-4.module+el8.9.0+19570+14a90618 RHSA-2024:6964
RHEL 8 sgabios +1 1:0.20170427git-3.module+el8.9.0+18724+20190c23 RHSA-2024:6964
RHEL 8 supermin +1 5.2.1-2.module+el8.9.0+18724+20190c23 RHSA-2024:6964
RHEL 8 swtpm +4 0.7.0-4.20211109gitb79fd91.module+el8.9.0+18724+20190c23 RHSA-2024:6964
RHEL 8 virt-dib +24 1:1.44.0-9.module+el8.9.0+18724+20190c23 RHSA-2024:6964
RHEL 8 virt-v2v +3 1:1.42.0-22.module+el8.9.0+18724+20190c23 RHSA-2024:6964

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libnbd +6 1.18.1-4.el9_4 ALSA-2024:6757
AlmaLinux 8 SLOF 20210217-2.module_el8.10.0+3768+dfd76e10 ALSA-2024:6964
AlmaLinux 8 hivex +6 1.3.18-23.module_el8.6.0+2880+7d9e3703 ALSA-2024:6964
AlmaLinux 8 libguestfs-winsupport 8.10-1.module_el8.10.0+3768+dfd76e10 ALSA-2024:6964
AlmaLinux 8 libiscsi +2 1.18.0-8.module_el8.6.0+2880+7d9e3703 ALSA-2024:6964
AlmaLinux 8 libnbd +6 1.6.0-6.module_el8.10.0+3897+eb84924d ALSA-2024:6964
AlmaLinux 8 libtpms +1 0.9.1-2.20211126git1ff6fe1f43.module_el8.9.0+3659+9c8643f3 ALSA-2024:6964
AlmaLinux 8 libvirt +25 8.0.0-23.2.module_el8.10.0+3867+f3f9981a ALSA-2024:6964
AlmaLinux 8 libvirt-daemon-driver-storage +1 8.0.0-23.2.module_el8.10.0+3869+b8959270 ALSA-2024:6964
AlmaLinux 8 libvirt-dbus 1.3.0-2.module_el8.6.0+2880+7d9e3703 ALSA-2024:6964
AlmaLinux 8 nbdkit +18 1.24.0-5.module_el8.8.0+3485+7cffc4a3 ALSA-2024:6964
AlmaLinux 8 netcf +2 0.2.8-12.module_el8.6.0+2880+7d9e3703 ALSA-2024:6964
AlmaLinux 8 perl-Sys-Virt 8.0.0-1.module_el8.6.0+2880+7d9e3703 ALSA-2024:6964
AlmaLinux 8 python3-libvirt 8.0.0-2.module_el8.7.0+3346+68867adb ALSA-2024:6964
AlmaLinux 8 qemu-img +14 15:6.2.0-53.module_el8.10.0+3897+eb84924d ALSA-2024:6964
AlmaLinux 8 seabios +2 1.16.0-4.module_el8.9.0+3659+9c8643f3 ALSA-2024:6964
AlmaLinux 8 sgabios +1 1:0.20170427git-3.module_el8.6.0+2880+7d9e3703 ALSA-2024:6964
AlmaLinux 8 supermin +1 5.2.1-2.module_el8.7.0+3346+68867adb ALSA-2024:6964
AlmaLinux 8 swtpm +4 0.7.0-4.20211109gitb79fd91.module_el8.7.0+3346+68867adb ALSA-2024:6964
AlmaLinux 8 virt-dib +24 1:1.44.0-9.module_el8.7.0+3493+5ed0bd1c.alma ALSA-2024:6964
AlmaLinux 8 virt-v2v +3 1:1.42.0-22.module_el8.9.0+3659+9c8643f3 ALSA-2024:6964

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 libnbd 1.18.1-4.el9_4 RLSA-2024:6757
Rocky Linux 8 hivex 1.3.18-23.module+el8.10.0+1590+a67ab969 RLSA-2024:6964
Rocky Linux 8 libguestfs 1:1.44.0-9.module+el8.10.0+1590+a67ab969.rocky RLSA-2024:6964
Rocky Linux 8 libguestfs-winsupport 8.10-1.module+el8.10.0+1451+358d0d76 RLSA-2024:6964
Rocky Linux 8 libiscsi 1.18.0-8.module+el8.10.0+1590+a67ab969 RLSA-2024:6964
Rocky Linux 8 libnbd 1.6.0-6.module+el8.10.0+1870+0a714c9f RLSA-2024:6964
Rocky Linux 8 libtpms 0.9.1-2.20211126git1ff6fe1f43.module+el8.10.0+1590+a67ab969 RLSA-2024:6964
Rocky Linux 8 libvirt 8.0.0-23.2.module+el8.10.0+1835+43f01cbb RLSA-2024:6964
Rocky Linux 8 libvirt-dbus 1.3.0-2.module+el8.10.0+1590+a67ab969 RLSA-2024:6964
Rocky Linux 8 libvirt-python 8.0.0-2.module+el8.10.0+1590+a67ab969 RLSA-2024:6964
Rocky Linux 8 nbdkit 1.24.0-5.module+el8.10.0+1590+a67ab969 RLSA-2024:6964
Rocky Linux 8 netcf 0.2.8-12.module+el8.10.0+1590+a67ab969 RLSA-2024:6964
Rocky Linux 8 perl-Sys-Virt 8.0.0-1.module+el8.10.0+1590+a67ab969 RLSA-2024:6964
Rocky Linux 8 qemu-kvm 5:6.2.0-53.module+el8.10.0+1870+0a714c9f RLSA-2024:6964
Rocky Linux 8 seabios 1.16.0-4.module+el8.9.0+1408+7b966129 RLSA-2024:6964
Rocky Linux 8 sgabios 1:0.20170427git-3.module+el8.10.0+1590+a67ab969 RLSA-2024:6964
Rocky Linux 8 supermin 5.2.1-2.module+el8.10.0+1590+a67ab969 RLSA-2024:6964
Rocky Linux 8 swtpm 0.7.0-4.20211109gitb79fd91.module+el8.10.0+1590+a67ab969 RLSA-2024:6964
Rocky Linux 8 virt-v2v 1:1.42.0-22.module+el8.10.0+1590+a67ab969 RLSA-2024:6964
ReleasePackageFixed inAdvisory
SLES 15 SP6 libnbd 1.18.5-150600.18.3.1 SUSE-SU-2024:2813-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libnbd 1.20.2-1.1 openSUSE-SU-2024:14240-1
openSUSE Leap 15.6 libnbd 1.18.5-150600.18.3.1 SUSE-SU-2024:2813-1
openSUSE Leap 15.5 libnbd 1.18.5-150300.8.21.1 SUSE-SU-2024:2789-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libnbd 1.18.3-3 —
Azure Linux 2 (CBL-Mariner) libnbd 1.12.1-4 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libnbd +6 1.18.1-4.0.1.el9_4 ELSA-2024-6757
Oracle Linux 8 hivex +6 1.3.18-23.module+el8.9.0+90075+85334608 ELSA-2024-6964
Oracle Linux 8 libguestfs-winsupport 8.10-1.module+el8.10.0+90308+7c659588 ELSA-2024-6964
Oracle Linux 8 libiscsi +2 1.18.0-8.module+el8.9.0+90052+d3bf71d8 ELSA-2024-6964
Oracle Linux 8 libnbd +6 1.6.0-6.module+el8.10.0+90410+bcde3bf4 ELSA-2024-6964
Oracle Linux 8 libtpms +1 0.9.1-2.20211126git1ff6fe1f43.module+el8.9.0+90052+d3bf71d8 ELSA-2024-6964
Oracle Linux 8 libvirt +27 8.0.0-23.2.0.1.module+el8.10.0+90363+955e9a81 ELSA-2024-6964
Oracle Linux 8 libvirt-dbus 1.3.0-2.module+el8.9.0+90052+d3bf71d8 ELSA-2024-6964
Oracle Linux 8 nbdkit +18 1.24.0-5.module+el8.9.0+90052+d3bf71d8 ELSA-2024-6964
Oracle Linux 8 netcf +2 0.2.8-12.module+el8.9.0+90052+d3bf71d8 ELSA-2024-6964
Oracle Linux 8 perl-Sys-Virt 8.0.0-1.module+el8.9.0+90052+d3bf71d8 ELSA-2024-6964
Oracle Linux 8 python3-libvirt 8.0.0-2.module+el8.9.0+90052+d3bf71d8 ELSA-2024-6964
Oracle Linux 8 qemu-img +14 15:6.2.0-53.module+el8.10.0+90410+bcde3bf4 ELSA-2024-6964
Oracle Linux 8 seabios +2 1.16.0-4.module+el8.9.0+90052+d3bf71d8 ELSA-2024-6964
Oracle Linux 8 sgabios +1 1:0.20170427git-3.module+el8.9.0+90052+d3bf71d8 ELSA-2024-6964
Oracle Linux 8 supermin +1 5.2.1-2.0.1.module+el8.9.0+90052+d3bf71d8 ELSA-2024-6964
Oracle Linux 8 swtpm +4 0.7.0-4.20211109gitb79fd91.module+el8.9.0+90052+d3bf71d8 ELSA-2024-6964
Oracle Linux 8 virt-dib +24 1:1.44.0-9.0.2.module+el8.9.0+90052+d3bf71d8 ELSA-2024-6964
Oracle Linux 8 virt-v2v +3 1:1.42.0-22.module+el8.9.0+90052+d3bf71d8 ELSA-2024-6964

Advisories 12

References