{"id":"CVE-2023-5215","published":"2023-09-28T13:55:32Z","modified":"2025-11-08T08:55:24Z","title":"Libnbd: crash or misbehaviour when nbd server returns an unexpected block size","vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","tier":"tail","description":{"text":"A flaw was found in libnbd. A server can reply with a block size larger than 2^63 (the NBD spec states the size is a 64-bit unsigned value). This issue could lead to an application crash or other unintended behavior for NBD clients that doesn't treat the return value of the nbd_get_size() function correctly.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00806,"percentile":0.57689,"provenance":"source"},"cwes":[{"id":"CWE-241","name":"Improper Handling of Unexpected Data Type"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:2204","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-5215","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2241041","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://listman.redhat.com/archives/libguestfs/2023-September/032635.html","tags":[]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":11.54},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8 Advanced Virtualization","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8 Advanced Virtualization","versions":["all versions"]}],"euvd":{"id":"EUVD-2023-57545","exploited":false,"provenance":"source"}}