CVE & CISA-KEV Catalog

CVE-2023-5215

MEDIUM
5.3
CVSS v3
NVD

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.

How to fix

Remediation Available
libnbdDebian
Fixed in:1.16.5-1CVE-2023-5215
Fixed in:1.16.5-1CVE-2023-5215
libnbdRed Hat / RHEL
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
libnbdRocky
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
libnbd-bash-completionRed Hat / RHEL
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
libnbd-bash-completionRocky
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
libnbd-debuginfoRed Hat / RHEL
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
libnbd-debuginfoRocky
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
libnbd-debugsourceRocky
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
libnbd-debugsourceRed Hat / RHEL
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
libnbd-develRed Hat / RHEL
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
libnbd-develRocky
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
nbdfuseRocky
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
nbdfuseRed Hat / RHEL
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
nbdfuse-debuginfoRed Hat / RHEL
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
nbdfuse-debuginfoRocky
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
ocaml-libnbdRocky
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
ocaml-libnbdRed Hat / RHEL
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
ocaml-libnbd-debuginfoRocky
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
ocaml-libnbd-debuginfoRed Hat / RHEL
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
ocaml-libnbd-develRocky
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
ocaml-libnbd-develRed Hat / RHEL
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
python3-libnbdRed Hat / RHEL
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
python3-libnbdRocky
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
python3-libnbd-debuginfoRed Hat / RHEL
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
python3-libnbd-debuginfoRocky
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204
Fixed in:0:1.18.1-3.el9RHSA-2024:2204

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorAdjacent
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.75%probability of exploitation in 30 days
51stpercentile

Moderate risk: more likely to be exploited than 51% of all known CVEs.

References

Related Vulnerabilities

Other CWE-241 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-30591High7.554%--
CVE-2022-29181High8.23.3%-Fix
CVE-2021-39131High7.51.9%--
CVE-2021-40116High8.61.3%-Fix
CVE-2022-24668High7.51.1%-Fix
CVE-2021-32696Low3.71.1%-Fix

Common questions

How do I fix CVE-2023-5215?

Published advisories record a fix for 25 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2023-5215 being actively exploited?

Not that we know of. CVE-2023-5215 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.75% is the estimated probability that it will be exploited in the next 30 days. That is higher than 51% of all scored CVEs.

How severe is CVE-2023-5215?

CVE-2023-5215 has a CVSS v3 base score of 5.3, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2023-5215 affect?

Published advisories record a fix for libnbd (Debian), libnbd (Red Hat / RHEL), libnbd (Rocky), libnbd-bash-completion (Red Hat / RHEL), and 21 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2023-5215
CVE-2023-5215 severity badge

Markdown

[![CVE-2023-5215](https://tridentstack.com/cve/badge/CVE-2023-5215.svg)](https://tridentstack.com/cve/CVE-2023-5215)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-5215"><img src="https://tridentstack.com/cve/badge/CVE-2023-5215.svg" alt="CVE-2023-5215"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.