CVE-2023-5215
Libnbd: crash or misbehaviour when nbd server returns an unexpected block size
- State
- Published
- Severity
- 5.3 Medium
- Published
- Sep 28, 2023
- Updated
- Nov 8, 2025
- Reserved
- Sep 26, 2023
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.3 Medium | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat |
Weaknesses
- CWE-241 Improper Handling of Unexpected Data Type
Affected Products
| Product | Versions |
|---|---|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 8Red Hat | |
Red Hat Enterprise Linux 8 Advanced VirtualizationRed Hat | |
Red Hat Enterprise Linux 8 Advanced VirtualizationRed Hat |
References
- RHSA-2024:2204vendor-advisory
- https://access.redhat.com/security/cve/CVE-2023-5215vdb-entry
- RHBZ#2241041issue-tracking
- https://listman.redhat.com/archives/libguestfs/2023-September/032635.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.