Security Resilience

CVE-2023-5215

Redhat Libnbd ≤ 1.18.0

Public PoC
Published
28 September 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 5.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0081 57th percentile
Risk Priority 43 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS scores by FIRST (EPSS SIG), generated by Empirical Security. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-5215 is a medium-severity Improper Handling of Unexpected Data Type (CWE-241) vulnerability in Redhat Libnbd. Its CVSS base score is 5.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 43% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

for NBD clients that doesn't treat the return value of the nbd_get_size() function correctly.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1548.001 Setuid and Setgid Privilege Escalation
An adversary may abuse configurations where an application has the setuid or setgid bits set in order to get code running in a different (and possibly more privileged) user’s context.
T1687 Exploitation for Defense Impairment Defense Impairment
Adversaries may exploit vulnerabilities in security software, infrastructure, or defensive components to degrade, disable, or otherwise continue to impair their ability to prevent, detect, or respond to malicious activity.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-5871Same product: Redhat Enterprise Linux
CVE-2026-42170Same product: Redhat Enterprise Linux
CVE-2023-6121Same product: Redhat Enterprise Linux
CVE-2026-11820Same product: Redhat Enterprise Linux
CVE-2026-11819Same product: Redhat Enterprise Linux
CVE-2023-3171Same product: Redhat Enterprise Linux
CVE-2025-8283Same product: Redhat Enterprise Linux
CVE-2026-42169Same product: Redhat Enterprise Linux
CVE-2018-14667Same product: Redhat Enterprise Linux
CVE-2023-6476Same product: Redhat Enterprise Linux

Affected Assets

redhat
libnbd
≤ 1.18.0
redhat
enterprise linux
8.0, 9.0

Mitigating Controls

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require proper input validation and type checking to prevent this weakness.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect type-handling flaws but does not itself implement the preventive control.

prevents

Secure coding standards explicitly require type checking and input sanitization, directly addressing improper handling of unexpected data types.

References