CVE-2023-5215
libnbd: Crash or misbehaviour when NBD server returns an unexpected block size
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 21, 2023
Updated · June 28, 2026
Description
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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.3CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-241 · Improper Handling of Unexpected Data Type