{"id":"CVE-2023-5215","summary":"Libnbd: crash or misbehaviour when nbd server returns an unexpected block size","details":"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.","modified":"2026-05-28T04:09:12.576775628Z","published":"2023-09-28T13:55:32.462Z","related":["ALSA-2024:2204","SUSE-SU-2023:4222-1","openSUSE-SU-2024:13278-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5215.json","cna_assigner":"redhat","cwe_ids":["CWE-241"]},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://listman.redhat.com/archives/libguestfs/2023-September/032635.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:2204"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2023-5215"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5215.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5215"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2241041"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/nbdkit/libnbd","events":[{"introduced":"0"},{"fixed":"3bb188603138aea8f1ecd237a422d4c7baa2377a"}],"database_specific":{"cpe":"cpe:2.3:a:redhat:libnbd:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.18.0"}],"source":"CPE_RANGE"}}],"versions":["v1.17.5","v1.17.4","v1.17.3","v1.17.2","v1.17.1","v1.16.1","v1.16.0","v1.15.13","v1.15.12","v1.15.11","v1.15.10","v1.15.9","v1.15.8","v1.15.7","v1.15.6","v1.15.5","v1.15.4","v1.15.3","v1.15.2","v1.15.1","v1.14.1","v1.14.0","v1.13.9","v1.13.8","v1.13.7","v1.13.6","v1.13.5","v1.13.4","v1.13.3","v1.13.2","v1.13.1","v1.12.3","v1.12.2","v1.12.1","v1.12.0","v1.11.11","v1.11.10","v1.11.9","v1.11.8","v1.11.7","v1.11.6","v1.11.5","v1.11.4","v1.11.3","v1.11.2","v1.11.1","v1.10.0","v1.9.6","v1.9.5","v1.9.4","v1.9.3","v1.9.2","v1.9.1","v1.8.0","v1.7.12","v1.7.11","v1.7.10","v1.7.9","v1.7.8","v1.7.7","v1.7.6","v1.7.5","v1.7.4","v1.7.3","v1.7.2","v1.7.1","v1.6.0","v1.5.9","v1.5.8","v1.5.7","v1.5.6","v1.5.5","v1.5.4","v1.5.3","v1.5.2","v1.4.0","v1.5.1","v1.3.12","v1.3.11","v1.3.10","v1.3.9","v1.3.8","v1.3.7","v1.3.6","v1.3.5","v1.3.4","v1.3.3","v1.3.2","v1.3.1","v1.2.0","v1.1.9","v1.1.8","v1.1.7","v1.1.6","v1.1.5","v1.1.4","v1.1.3","v1.1.2","v1.1.1","v1.0.0","v0.9.9","v0.9.8","v0.9.7","v0.9.6","v0.1.9","v0.1.8","v0.1.7","v0.1.6","v0.1.5","v0.1.4","v0.1.3","v0.1.2","v0.1.1","v0.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-5215.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}