CVE-2023-5215

MEDIUM

libnbd - Denial of Service via Unchecked Return Value in nbd_get_size()

Title source: llm
STIX 2.1

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.

References (4)

Core 4
Core References
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2024:2204
Vendor Advisory vdb-entry x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2023-5215
Issue Tracking, Vendor Advisory issue-tracking x_refsource_redhat
https://bugzilla.redhat.com/show_bug.cgi?id=2241041

Scores

CVSS v3 5.3
EPSS 0.0075
EPSS Percentile 49.8%
Attack Vector ADJACENT_NETWORK
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-252 CWE-241
Status published
Products (3)
redhat/enterprise_linux 8.0
redhat/enterprise_linux 9.0
redhat/libnbd < 1.18.0
Published Sep 28, 2023
Tracked Since Feb 18, 2026