CVE-2023-5215 Libnbd: crash or misbehaviour when nbd server returns an unexpected block size
A malicious NBD server can cause client crashes or misbehavior by returning an oversized block size, affecting applications using the libnbd library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-5215?
CVE-2023-5215 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 28 Sep 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2023-5215?
It affects 2 products.
Linux distribution packages (3)
libnbd openSUSE:Leap 15.4 | All versions | 1.18.1-150300.8.15.1 |
libnbd openSUSE:Leap 15.5 | All versions | 1.18.1-150300.8.15.1 |
libnbd openSUSE:Tumbleweed | All versions | 1.18.0-1.1 |
Products include Redhat Enterprise Linux, Redhat Libnbd.
How do I fix CVE-2023-5215?
Apply the vendor's patch.
Is CVE-2023-5215 being exploited?
There is no known exploitation of CVE-2023-5215 in the wild and no public exploit code.
Other vulnerabilities in Redhat Enterprise Linux
- CVE-2018-14667 Red Hat JBoss RichFaces Framework Expression Language Injection
- CVE-2021-20325 Missing fixes for CVE-2021-40438 and CVE-2021-26691 in the versions of httpd, as shipped in Red Hat Enterprise Linux 8.5.0, causes a securit
- CVE-2018-25011 Memory corruption in libwebp
- CVE-2018-25014 Other in libwebp
- CVE-2014-3585 Supply chain in redhat-upgrade-tool
Sources
Also known as AZL-31095, AZL-34933, CLSA-2026-1778007485, DEBIAN-CVE-2023-5215, GHSA-fj2q-5f6j-5xf4, MGASA-2024-0174 and 3 more.