CVE-2022-26495

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 52%
VendorProductVersion
network_block_device_projectnetwork_block_device
𝑥
< 3.24
debiandebian_linux
9.0
debiandebian_linux
10.0
debiandebian_linux
11.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
nbd
bullseye
1:3.21-1+deb11u1
fixed
bullseye (security)
1:3.21-1+deb11u1
fixed
bookworm
1:3.24-1.1
fixed
sid
1:3.26.1-6
fixed
trixie
1:3.26.1-6
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
nbd
noble
Fixed 1:3.23-3ubuntu1
released
mantic
Fixed 1:3.23-3ubuntu1
released
lunar
Fixed 1:3.23-3ubuntu1
released
kinetic
Fixed 1:3.23-3ubuntu1
released
jammy
Fixed 1:3.23-3ubuntu1
released
impish
Fixed 1:3.21-1ubuntu0.1
released
focal
Fixed 1:3.20-1ubuntu0.1
released
bionic
Fixed 1:3.16.2-1ubuntu0.2
released
xenial
needed
trusty
needed