CVE-2022-26495
Critical
Description
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.
SeverityCritical
CVSS9.8
Exploit probability—
Product
Network Block Device
PublishedMar 6, 2022
First seenMar 6, 2022
How to fix
Update
- network_block_device_project network_block_device3.24 or later
Vendor advisories
- debian.org/security/2022/dsa-5100
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IZHR73XMAJTCFGKUZRXVTZKCK2X3IFNA/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PU5JFD4PEJED72TZLZ5R2Q2SFXICU5I5/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G2UPX62BIWOOHSACGUDB7E3O4URNN37F/
- security.gentoo.org/glsa/202402-10
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| network_block_device_project network_block_device | v < 3.24 | 3.24 |
| debian debian_linux | 9.0, 10.0, 11.0 | — |
| fedoraproject fedora | 34, 35, 36 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.