CVE-2023-5215 Details
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.
A vulnerability exists in libnbd, a userspace client library for the Network Block Device (NBD) protocol, which allows NBD servers to specify a block size greater than 2^63. This discrepancy can cause application crashes or other unintended behaviors in NBD clients that do not properly manage the block size returned by the nbd_get_size() function. This issue affects all versions of libnbd prior to 1.18.0.
Users can upgrade to libnbd version 1.18.0 to address this vulnerability. For Red Hat Enterprise Linux 9, this update is available through the Red Hat Enterprise Linux 9.4 Release Notes. Red Hat users can also refer to the RHSA-2024:2204 advisory for guidance on applying this update.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2024:2204 | CVE | |
| https://access.redhat.com/security/cve/CVE-2023-5215 | CVE | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2241041 | CVE | Issue TrackingVendor Advisory |
| https://listman.redhat.com/archives/libguestfs/2023-September/032635.html | CVE | ExploitPatch |
| https://access.redhat.com/errata/RHSA-2024:2204 | [email protected] | |
| https://access.redhat.com/security/cve/CVE-2023-5215 | [email protected] | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2241041 | [email protected] | Issue TrackingVendor Advisory |
| https://listman.redhat.com/archives/libguestfs/2023-September/032635.html | [email protected] | ExploitPatch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-252 | Unchecked Return Value | [email protected] |
| CWE-241 | Improper Handling of Unexpected Data Type | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| redhat libnbd | < 1.18.0 |
CPE
Remediation
| |
| redhat enterprise linux | 8.0 9.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Apr 30, 2024 | CVE Modified | [email protected] |
| Jan 3, 2024 | Modified Analysis | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Oct 5, 2023 | Initial Analysis | [email protected] |