CVE-2025-47711: Nbdkit: nbdkit-server: off-by-one error when processing block status may lead to a denial of service
Nbdkit: nbdkit-server: off-by-one error when processing block status may lead to a denial of service
Other sources
The nbdkit server had an off-by-one error when processing block status results from plugins on behalf of an NBD client. If a client requests block status for the maximum 32-bit length, and the plugin reports a larger length as a single extent, then nbdkit hits an assertion failure. A compliant client could use this to cause a denial-of-service attack against the server to prevent it from serving other clients.
— Red Hat
There's a flaw in the nbdkit server when handling responses from its plugins regarding the status of data blocks. If a client makes a specific request for a very large data range, and a plugin responds with an even larger single block, the nbdkit server can encounter a critical internal error, leading to a denial-of-service.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.35.3-4 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.35.3-7
Event History
Frequently Asked Questions
What is the severity of CVE-2025-47711?
CVE-2025-47711 has been assigned a high severity rating due to its potential to cause assertion failures in the nbdkit server.
How do I fix CVE-2025-47711?
To fix CVE-2025-47711, update to the latest version of nbdkit that addresses this off-by-one error.
What causes the assertion failure in CVE-2025-47711?
The assertion failure is caused by an off-by-one error when processing block status results from plugins.
Which version of nbdkit is affected by CVE-2025-47711?
CVE-2025-47711 affects versions of nbdkit that do not include the patch for the specified vulnerability.
What are the potential risks associated with CVE-2025-47711?
The potential risks of CVE-2025-47711 include denial of service due to crashes when handling block status requests.