Vulnerability Details : 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.
Products affected by CVE-2023-5215
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:libnbd:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-5215
0.04%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 8 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-5215
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.5
|
MEDIUM | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
2.8
|
3.6
|
NIST | 2024-01-03 |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | |
5.3
|
MEDIUM | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
1.6
|
3.6
|
Red Hat, Inc. |
CWE ids for CVE-2023-5215
-
The product does not handle or incorrectly handles when a particular element is not the expected type, e.g. it expects a digit (0-9) but is provided with a letter (A-Z).Assigned by: secalert@redhat.com (Secondary)
-
The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.Assigned by: nvd@nist.gov (Primary)
References for CVE-2023-5215
-
https://access.redhat.com/errata/RHSA-2024:2204
RHSA-2024:2204 - Security Advisory - Red Hat Customer Portal
-
https://bugzilla.redhat.com/show_bug.cgi?id=2241041
2241041 – (CVE-2023-5215) CVE-2023-5215 libnbd: NBS server does not return expeted block sizeIssue Tracking;Vendor Advisory
-
https://access.redhat.com/security/cve/CVE-2023-5215
CVE-2023-5215- Red Hat Customer PortalVendor Advisory
-
https://listman.redhat.com/archives/libguestfs/2023-September/032635.html
[Libguestfs] [libnbd PATCH v2 3/6] api: Sanitize sizes larger than INT64_MAXExploit;Patch
Jump to