Denial of Service Vulnerability in libnbd Package

libnbd Updated 02 Oct 2025

Summary

27/11/2023
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2023-5871: A flaw was found in libnbd, due to a malicious Network Block Device (NBD), a protocol for accessing Block Devices such as hard disks over a Network. Affects libnbd versions < 1.18.1-1. Fixed in 1.18.1-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

libnbd is a library that provides a way to access Network Block Devices (NBD), allowing users to interact with block devices over a network. It is commonly used in scenarios where remote storage is required, enabling efficient data management and access. However, due to its reliance on network protocols, it is susceptible to vulnerabilities that can be exploited by malicious actors.

Vulnerability Detail

A flaw was discovered in the libnbd package, which can be exploited through a malicious Network Block Device (NBD). This vulnerability allows an attacker to create a specially crafted NBD server that can cause a Denial of Service (DoS) condition. The issue arises from the way libnbd handles requests from NBD servers, potentially leading to service interruptions and making the system unresponsive to legitimate requests.

How To Fix

Minimum fixed version

1.18.1-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libnbd

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can restrict access to the NBD service or implement firewall rules to block untrusted NBD servers. This can help mitigate the risk of exploitation until the package is updated.

Conclusion

The vulnerability identified in the libnbd package poses a significant risk of Denial of Service due to malicious NBD servers. It is crucial for users to update to the latest version of the package to mitigate this risk and ensure the stability of their systems.

See every vulnerability recorded for libnbd →

Share this vulnerability

FAQ

libnbd is a library that allows access to Network Block Devices, enabling users to manage block storage over a network.

The vulnerability allows a malicious NBD server to cause a Denial of Service, potentially disrupting legitimate access to block devices.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If immediate updates are not possible, consider implementing firewall rules to restrict access to the NBD service as a temporary measure.

Detailed information can be found in the official Debian CVE database or by visiting the source link provided in the vulnerability details.

Related vulnerabilities

Recent vulnerabilities recorded for libnbd.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

1.18.1-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libnbd

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback