{"id":"UBUNTU-CVE-2024-7383","details":"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.","modified":"2026-05-20T16:20:16.585395021Z","published":"2024-08-05T14:15:00Z","upstream":["CVE-2024-7383"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-7383"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-7383"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2302865"},{"type":"REPORT","url":"https://lists.libguestfs.org/archives/list/guestfs%40lists.libguestfs.org/message/LHR3BW6RJ7K4BJBQIYV3GTZLSY27VZO2/"},{"type":"REPORT","url":"https://gitlab.com/nbdkit/libnbd/-/commit/87ef41b69929d5d293390ec36b1c10aba2c9a57a"},{"type":"REPORT","url":"https://gitlab.com/nbdkit/libnbd/-/commit/6ed47a27d14f6f11946bb096d94e5bf21d97083d"},{"type":"REPORT","url":"https://gitlab.com/nbdkit/libnbd/-/commit/5ff09cdbbd19226dd2d5015d76134f88dee9321e"},{"type":"REPORT","url":"https://gitlab.com/nbdkit/libnbd/-/commit/7a45b5db68c59cc620ba328f0ebec1e7058cd95a"},{"type":"REPORT","url":"https://gitlab.com/nbdkit/libnbd/-/commit/e62185645c4d1a833d40aa79f3fee4ed477827c2"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2024-7383"},{"type":"REPORT","url":"https://lists.libguestfs.org/archives/list/guestfs@lists.libguestfs.org/message/LHR3BW6RJ7K4BJBQIYV3GTZLSY27VZO2"},{"type":"REPORT","url":"https://lists.libguestfs.org/archives/list/guestfs@lists.libguestfs.org/thread/ENZY4LHLARA3N4C3JUNLPYUCXHFO7BWQ/"}],"affected":[{"package":{"name":"libnbd","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libnbd?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.3-1","1.2.1-2","1.2.2-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.2-1ubuntu2","binary_name":"libnbd-ocaml"},{"binary_name":"libnbd0","binary_version":"1.2.2-1ubuntu2"},{"binary_name":"nbdfuse","binary_version":"1.2.2-1ubuntu2"},{"binary_name":"python3-libnbd","binary_version":"1.2.2-1ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-7383.json"}},{"package":{"name":"libnbd","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libnbd?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.3-1","1.8.5-1","1.10.2-1","1.10.5-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libnbd-bin","binary_version":"1.10.5-1"},{"binary_version":"1.10.5-1","binary_name":"libnbd-ocaml"},{"binary_name":"libnbd0","binary_version":"1.10.5-1"},{"binary_name":"python3-libnbd","binary_version":"1.10.5-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-7383.json"}},{"package":{"name":"libnbd","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libnbd?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.16.4-1","1.18.1-1","1.18.2-1","1.18.2-1build1","1.18.2-2","1.18.2-2build1","1.20.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libnbd-bin","binary_version":"1.20.0-1"},{"binary_version":"1.20.0-1","binary_name":"libnbd-ocaml"},{"binary_name":"libnbd0","binary_version":"1.20.0-1"},{"binary_name":"python3-libnbd","binary_version":"1.20.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-7383.json"}},{"package":{"name":"libnbd","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libnbd?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22.0-1","1.22.2-1build1","1.22.2-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"libnbd-bin","binary_version":"1.22.2-1build2"},{"binary_version":"1.22.2-1build2","binary_name":"libnbd-ocaml"},{"binary_name":"libnbd0","binary_version":"1.22.2-1build2"},{"binary_name":"python3-libnbd","binary_version":"1.22.2-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-7383.json"}},{"package":{"name":"libnbd","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libnbd?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22.2-1build2","1.24.0-2ubuntu1","1.24.1-1ubuntu6","1.24.2-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libnbd-bin","binary_version":"1.24.2-1ubuntu1"},{"binary_version":"1.24.2-1ubuntu1","binary_name":"libnbd-ocaml"},{"binary_name":"libnbd0","binary_version":"1.24.2-1ubuntu1"},{"binary_name":"python3-libnbd","binary_version":"1.24.2-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-7383.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}