CVE-2023-5215
CVE-2023-5215 · Libnbd: crash or misbehaviour when nbd server returns an unexpected block size
CVSS 5.3 · Medium · EPSS 0.8% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- red hat enterprise linux 9No fix published
- red hat enterprise linux 8No fix published
- red hat enterprise linux 8 advanced virtualizationNo fix published
- libnbd Alpine 3.20Update to 1.18.0-r0
- and 13 more
Check the installed version:
apk list -I -o libnbdAssess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- RHSA-2024:2204 · Red Hat Enterprise Linux 9 appstream, Red Hat Enterprise Linux 9 crb ·
- openSUSE-SU-2024:13278-1 · openSUSE Tumbleweed ·
- ALSA-2024:2204 · AlmaLinux 9 ·
- SUSE-SU-2023:4222-1 · openSUSE Leap 15.4, openSUSE Leap 15.5 ·
Stack: system
Affected products and versions
red hat enterprise linux 9
- Versions
- ≥ 0:1.18.1-3.el9: Not affected (rpm)
No fix published
red hat enterprise linux 8
No fix published
red hat enterprise linux 8 advanced virtualization
No fix published
libnbd Alpine 3.20
- Affected ranges
- ECOSYSTEM: < 1.18.0-r0
Update to 1.18.0-r0
libnbd Alpine 3.21
- Affected ranges
- ECOSYSTEM: < 1.18.0-r0
Update to 1.18.0-r0
libnbd Alpine 3.22
- Affected ranges
- ECOSYSTEM: < 1.18.0-r0
Update to 1.18.0-r0
libnbd Alpine 3.23
- Affected ranges
- ECOSYSTEM: < 1.18.0-r0
Update to 1.18.0-r0
libnbd Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 1.18.0-r0
Update to 1.18.0-r0
libnbd Debian 12
- Versions
- 1.14.2-1
- 1.16.1-1
- 1.16.2-1
- 1.16.3-1
- 1.16.4-1
- 1.16.5-1
All versions (27)
- 1.18.0-1
- 1.18.1-1
- 1.18.2-1
- 1.18.2-2
- 1.20.0-1
- 1.20.1-1
- 1.20.2-1
- 1.20.2-2
- 1.20.3-1
- 1.22.0-1
- 1.22.2-1
- 1.22.3-1
- 1.22.5-1
- 1.24.0-1
- 1.24.0-2
- 1.24.0-2.1
- 1.24.1-1
- 1.24.2-1
- 1.24.2-2
- 1.24.3-1
- 1.24.4-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libnbd Debian 13
- Affected ranges
- ECOSYSTEM: < 1.16.5-1
Update to 1.16.5-1
libnbd Debian 14
- Affected ranges
- ECOSYSTEM: < 1.16.5-1
Update to 1.16.5-1
libnbd Ubuntu 20.04 LTS
- Versions
- 1.0.3-1
- 1.2.1-2
- 1.2.2-1ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libnbd Ubuntu 22.04 LTS
- Versions
- 1.6.3-1
- 1.8.5-1
- 1.10.2-1
- 1.10.5-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libnbd Ubuntu 24.04 LTS
- Versions
- 1.16.4-1
- 1.18.1-1
- 1.18.2-1
- 1.18.2-1build1
- 1.18.2-2
- 1.18.2-2build1
All versions (7)
- 1.20.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libnbd Ubuntu 25.10
- Versions
- 1.22.0-1
- 1.22.2-1build1
- 1.22.2-1build2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libnbd Ubuntu 26.10
- Versions
- 1.24.2-1ubuntu1
- 1.24.2-2ubuntu1
- 1.24.3-1ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libnbd Ubuntu 26.04 LTS
- Versions
- 1.22.2-1build2
- 1.24.0-2ubuntu1
- 1.24.1-1ubuntu6
- 1.24.2-1ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published