What’s Vulnerable › Vulnerabilities

CVE-2023-5215: Libnbd: crash or misbehaviour when nbd server returns an unexpected block size

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.

Affected products

How to fix

Upgrade to a fixed version: [UNKNOWN] libnbd 1.18.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-5215 or the next vulnerability affects your stack