CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022

CVE-2022-26495
Network Block Device Project Network Block Device vulnerability

In nbd-server in nbd before 3.24, there is an integer overflow with a resultant heap-based buffer overflow. A value of 0xffffffff in the name length field will cause a zero-sized buffer to be allocated for the name, resulting in a write to a dangling pointer. This issue exists for the NBD_OPT_INFO, NBD_OPT_GO, and NBD_OPT_EXPORT_NAME messages.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Network Block Device, Debian Linux, Fedora. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Network Block Device Project Network Block Device runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.