#VU61542 Stack-based buffer overflow in nbd - CVE-2022-26496


| Updated: 2023-05-07

Vulnerability identifier: #VU61542

Vulnerability risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2022-26496

CWE-ID: CWE-121

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
nbd
Other software / Other software solutions

Vendor: nbd.sourceforge.net

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing NBD_OPT_INFO or NBD_OPT_GO messages. A remote unauthenticated attacker can pass specially crafted data to the application, trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

nbd: 3.0 - 3.23


External links
https://sourceforge.net/projects/nbd/files/nbd/
https://lists.debian.org/nbd/2022/01/msg00037.html
https://lists.debian.org/nbd/2022/01/msg00036.html
https://www.debian.org/security/2022/dsa-5100
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IZHR73XMAJTCFGKUZRXVTZKCK2X3IFNA/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PU5JFD4PEJED72TZLZ5R2Q2SFXICU5I5/
https://packetstormsecurity.com/files/download/172148/GS20230504144557.txt


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability