CVE-2022-26496

In nbd-server in nbd before 3.24, there is a stack-based buffer overflow

published March 6, 2022

CVSS
—
EPSS
4%
Percentile
89.4
In the wild
Unconfirmed
What it is

⚠️ A stack-based buffer overflow is hiding in nbd-server before version 3.24! An attacker can exploit this by sending oversized name fields, potentially leading to chaos. 😱 Think of it as a restaurant that accepts any order, no matter how ridiculously large — if diners can just keep asking for bigger and bigger dishes without a cap, they might just crash the kitchen! If an attacker successfully crafts a malicious NBD_OPT_INFO or NBD_OPT_GO message, it could trigger a buffer overflow. This might lead to crashes or even the execution of arbitrary code, leaving your system vulnerable to unexpected behavior.

Put simply

Think of it as a restaurant that accepts any order, no matter how ridiculously large — if diners can just keep asking for bigger and bigger dishes without a cap, they might just crash the kitchen! This vulnerability in the nbd-server allows attackers to cause a stack-based buffer overflow by sending an excessively large length value for the name field in specific NBD messages.

What to do

If an attacker successfully crafts a malicious NBD_OPT_INFO or NBD_OPT_GO message, it could trigger a buffer overflow. This might lead to crashes or even the execution of arbitrary code, leaving your system vulnerable to unexpected behavior. Upgrade your nbd-server to version 3.24 or later to mitigate this issue. Review your server configurations to ensure no oversized inputs can be processed. Regularly audit your server for updates and patches that address known vulnerabilities. This is fixable! Update your server, and you’ll be back on track in no time! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.03592 · 89.4th percentile
Published
2022-03-06T00:00Z
EPSS history
Timeline
  • 06 MAR 00:00Z
    In nbd-server in nbd before 3.24, there is a stack-based buffer overflow
    cvelistv5