CVE-2023-5215
published medium CVSS 3.1 · 5.3Libnbd: crash or misbehaviour when nbd server returns an unexpected block size
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 9 | libnbd0:1.18.1-3.el9 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 8 | virt:rhel/libnbd | Affected | Not stated | redhat |
| Red Hat | — | virt:av/libnbdRed Hat Enterprise Linux 8 Advanced Virtualization | Affected | Not stated | redhat |
| Red Hat | — | virt-devel:av/libnbdRed Hat Enterprise Linux 8 Advanced Virtualization | Affected | Not stated | redhat |
| AlmaLinux | 9 | libnbd | Advisory build | 1.18.1-3.el9 | ALSA-2024:2204 |
| Alpine Linux | edge | libnbd | Fixed | 1.18.0-r0 | Package fix record |
| Oracle Linux | 9 | libnbdaarch64 | Advisory build | 0:1.18.1-3.el9 | ELSA-2024-2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbdaarch64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-15.4 | libnbdaarch64 | Advisory build | 1.18.1-150300.8.15.1 | SUSE-SU-2023:4222-1 |
| Alpine Linux | v3.20 | libnbd | Fixed | 1.18.0-r0 | Package fix record |
| Alpine Linux | v3.21 | libnbd | Fixed | 1.18.0-r0 | Package fix record |
| Alpine Linux | v3.22 | libnbd | Fixed | 1.18.0-r0 | Package fix record |
| Alpine Linux | v3.23 | libnbd | Fixed | 1.18.0-r0 | Package fix record |
| Alpine Linux | v3.24 | libnbd | Fixed | 1.18.0-r0 | Package fix record |
| Oracle Linux | 9 | libnbdx86_64 | Advisory build | 0:1.18.1-3.el9 | ELSA-2024-2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbdi686 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbdppc64le | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbds390x | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbdsrc | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbdx86_64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libnbdppc64le | Advisory build | 1.18.1-150300.8.15.1 | SUSE-SU-2023:4222-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libnbds390x | Advisory build | 1.18.1-150300.8.15.1 | SUSE-SU-2023:4222-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libnbdx86_64 | Advisory build | 1.18.1-150300.8.15.1 | SUSE-SU-2023:4222-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libnbdaarch64 | Advisory build | 1.18.1-150300.8.15.1 | SUSE-SU-2023:4222-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libnbdppc64le | Advisory build | 1.18.1-150300.8.15.1 | SUSE-SU-2023:4222-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libnbds390x | Advisory build | 1.18.1-150300.8.15.1 | SUSE-SU-2023:4222-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libnbdx86_64 | Advisory build | 1.18.1-150300.8.15.1 | SUSE-SU-2023:4222-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libnbdaarch64 | Advisory build | 1.18.0-1.1 | OPENSUSE-SU-2024:13278-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libnbdppc64le | Advisory build | 1.18.0-1.1 | OPENSUSE-SU-2024:13278-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libnbds390x | Advisory build | 1.18.0-1.1 | OPENSUSE-SU-2024:13278-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libnbdx86_64 | Advisory build | 1.18.0-1.1 | OPENSUSE-SU-2024:13278-1 |
| AlmaLinux | 9 | libnbd-bash-completion | Advisory build | 1.18.1-3.el9 | ALSA-2024:2204 |
| AlmaLinux | 9 | libnbd-devel | Advisory build | 1.18.1-3.el9 | ALSA-2024:2204 |
| AlmaLinux | 9 | nbdfuse | Advisory build | 1.18.1-3.el9 | ALSA-2024:2204 |
| AlmaLinux | 9 | ocaml-libnbd | Advisory build | 1.18.1-3.el9 | ALSA-2024:2204 |
| AlmaLinux | 9 | ocaml-libnbd-devel | Advisory build | 1.18.1-3.el9 | ALSA-2024:2204 |
| AlmaLinux | 9 | python3-libnbd | Advisory build | 1.18.1-3.el9 | ALSA-2024:2204 |
| Oracle Linux | 9 | libnbd-bash-completionaarch64 | Advisory build | 0:1.18.1-3.el9 | ELSA-2024-2204 |
| Oracle Linux | 9 | libnbd-bash-completionx86_64 | Advisory build | 0:1.18.1-3.el9 | ELSA-2024-2204 |
| Oracle Linux | 9 | libnbd-develaarch64 | Advisory build | 0:1.18.1-3.el9 | ELSA-2024-2204 |
| Oracle Linux | 9 | libnbd-develx86_64 | Advisory build | 0:1.18.1-3.el9 | ELSA-2024-2204 |
| Oracle Linux | 9 | nbdfuseaarch64 | Advisory build | 0:1.18.1-3.el9 | ELSA-2024-2204 |
| Oracle Linux | 9 | nbdfusex86_64 | Advisory build | 0:1.18.1-3.el9 | ELSA-2024-2204 |
| Oracle Linux | 9 | ocaml-libnbdaarch64 | Advisory build | 0:1.18.1-3.el9 | ELSA-2024-2204 |
| Oracle Linux | 9 | ocaml-libnbdx86_64 | Advisory build | 0:1.18.1-3.el9 | ELSA-2024-2204 |
| Oracle Linux | 9 | ocaml-libnbd-develaarch64 | Advisory build | 0:1.18.1-3.el9 | ELSA-2024-2204 |
| Oracle Linux | 9 | ocaml-libnbd-develx86_64 | Advisory build | 0:1.18.1-3.el9 | ELSA-2024-2204 |
| Oracle Linux | 9 | python3-libnbdaarch64 | Advisory build | 0:1.18.1-3.el9 | ELSA-2024-2204 |
| Oracle Linux | 9 | python3-libnbdx86_64 | Advisory build | 0:1.18.1-3.el9 | ELSA-2024-2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbd-bash-completionnoarch | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbd-debuginfoaarch64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbd-debuginfoi686 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbd-debuginfoppc64le | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbd-debuginfos390x | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbd-debuginfox86_64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbd-debugsourceaarch64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbd-debugsourcei686 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbd-debugsourceppc64le | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbd-debugsources390x | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbd-debugsourcex86_64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbd-develaarch64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbd-develi686 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbd-develppc64le | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbd-devels390x | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | libnbd-develx86_64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | nbdfuseaarch64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | nbdfuseppc64le | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | nbdfuses390x | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | nbdfusex86_64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | nbdfuse-debuginfoaarch64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | nbdfuse-debuginfoi686 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | nbdfuse-debuginfoppc64le | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | nbdfuse-debuginfos390x | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | nbdfuse-debuginfox86_64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | ocaml-libnbdaarch64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | ocaml-libnbdppc64le | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | ocaml-libnbds390x | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | ocaml-libnbdx86_64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | ocaml-libnbd-debuginfoaarch64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | ocaml-libnbd-debuginfoppc64le | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | ocaml-libnbd-debuginfos390x | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | ocaml-libnbd-debuginfox86_64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | ocaml-libnbd-develaarch64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | ocaml-libnbd-develppc64le | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | ocaml-libnbd-devels390x | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | ocaml-libnbd-develx86_64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | python3-libnbdaarch64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | python3-libnbdppc64le | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | python3-libnbds390x | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | python3-libnbdx86_64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | python3-libnbd-debuginfoaarch64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | python3-libnbd-debuginfoi686 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | python3-libnbd-debuginfoppc64le | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | python3-libnbd-debuginfos390x | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| Red Hat Enterprise Linux | RHEL-9 | python3-libnbd-debuginfox86_64 | Advisory build | 1.18.1-3.el9 | RHSA-2024:2204 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libnbd-bash-completionnoarch | Advisory build | 1.18.1-150300.8.15.1 | SUSE-SU-2023:4222-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libnbd-develaarch64 | Advisory build | 1.18.1-150300.8.15.1 | SUSE-SU-2023:4222-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libnbd-develppc64le | Advisory build | 1.18.1-150300.8.15.1 | SUSE-SU-2023:4222-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libnbd-devels390x | Advisory build | 1.18.1-150300.8.15.1 | SUSE-SU-2023:4222-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libnbd-develx86_64 | Advisory build | 1.18.1-150300.8.15.1 | SUSE-SU-2023:4222-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libnbd0aarch64 | Advisory build | 1.18.1-150300.8.15.1 | SUSE-SU-2023:4222-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libnbd0ppc64le | Advisory build | 1.18.1-150300.8.15.1 | SUSE-SU-2023:4222-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libnbd0s390x | Advisory build | 1.18.1-150300.8.15.1 | SUSE-SU-2023:4222-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libnbd0x86_64 | Advisory build | 1.18.1-150300.8.15.1 | SUSE-SU-2023:4222-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 9 | 0:1.18.1-3.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 Advanced Virtualization | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 Advanced Virtualization | Default: affected | redhat · cna |
Weaknesses
1- CWE-241 Improper Handling of Unexpected Data Type
References
4- RHSA-2024:2204 https://access.redhat.com/errata/RHSA-2024:2204
- https://access.redhat.com/security/cve/CVE-2023-5215
- RHBZ#2241041 https://bugzilla.redhat.com/show_bug.cgi?id=2241041
- https://listman.redhat.com/archives/libguestfs/2023-September/032635.html
Provider assertions
2redhat · cna
Libnbd: crash or misbehaviour when nbd server returns an unexpected block size
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1f48e0f218e0815e742a81235042bc2a04b28d8ec5d8e8811a41ec2e4ffea17b
- Ingested
- 23 Sep 2026, 08:15:19 UTC
- Source record
- Official CVE record