CVE-2023-5215
CVE-2023-5215 is a medium-severity vulnerability in Redhat Libnbd with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-252.
Key facts
- Severity: Medium (CVSS 3.x base score 5.3)
- EPSS exploit prediction: 1% (50th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-252
- Affected product: Redhat Libnbd
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2023-5215?
- 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.
- How severe is CVE-2023-5215?
- CVE-2023-5215 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over an adjacent network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2023-5215 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (50th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-5215?
- CVE-2023-5215 primarily affects Redhat Libnbd. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2023-5215?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2023-5215 published?
- CVE-2023-5215 was published on 2023-09-28 and last updated on 2026-06-17.
References
- https://access.redhat.com/errata/RHSA-2024:2204
- https://access.redhat.com/security/cve/CVE-2023-5215
- https://bugzilla.redhat.com/show_bug.cgi?id=2241041
- https://listman.redhat.com/archives/libguestfs/2023-September/032635.html
Affected products (3)
- cpe:2.3:a:redhat:libnbd:*:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
More vulnerabilities in Redhat Libnbd
- CVE-2019-14842 — Critical (CVSS 9.8): Structured reply is a feature of the newstyle NBD protocol allowing the server to send a reply in chunks. A bounds…
- CVE-2023-5871 — Medium (CVSS 5.3): A flaw was found in libnbd, due to a malicious Network Block Device (NBD), a protocol for accessing Block Devices such…
- CVE-2022-0485 — Medium (CVSS 4.8): A flaw was found in the copying tool `nbdcopy` of libnbd. When performing multi-threaded copies using asynchronous nbd…
- CVE-2021-20286 — Low (CVSS 2.7): A flaw was found in libnbd 1.7.3. An assertion failure in nbd_unlocked_opt_go in ilb/opt.c may lead to denial of…
All CVEs affecting Redhat Libnbd →
Other CWE-252 vulnerabilities
- CVE-2025-66565 — Critical (CVSS 9.8): Fiber Utils is a collection of common functions created for Fiber. In versions 2.0.0-rc.3 and below, when the system's…
- CVE-2021-38171 — Critical (CVSS 9.8): adts_decode_extradata in libavformat/adtsenc.c in FFmpeg 4.4 does not check the init_get_bits return value, which is a…
- CVE-2021-26955 — Critical (CVSS 9.8): An issue was discovered in the xcb crate through 2021-02-04 for Rust. It has a soundness violation because…
- CVE-1999-0199 — Critical (CVSS 9.8): manual/search.texi in the GNU C Library (aka glibc) before 2.2 lacks a statement about the unspecified tdelete return…
- CVE-2019-15900 — Critical (CVSS 9.8): An issue was discovered in slicer69 doas before 6.2 on certain platforms other than OpenBSD. On platforms without…
- CVE-2010-0211 — Critical (CVSS 9.8): The slap_modrdn2mods function in modrdn.c in OpenLDAP 2.4.22 does not check the return value of a call to the…