5.3Medium

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

Red Hat Red Hat Enterprise Linux 9; Red Hat Red Hat Enterprise Linux 8; Red Hat Red Hat Enterprise Linux 8 Advanced Virtualization Published: (3 years ago)

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.

Weakness (CWE): CWE-241

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
advanced virtualization 8 —
enterprise linux 9 —
Red Hat Red Hat Enterprise Linux 8 all versions
Red Hat Red Hat Enterprise Linux 8 Advanced Virtualization all versions
Red Hat Red Hat Enterprise Linux 9 all versions

References and patches