Name | CVE-2022-26495 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2944-1, DSA-5100-1 |
Debian Bugs | 1006915 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
nbd (PTS) | jessie, jessie (lts) | 1:3.8-4+deb8u3 | vulnerable |
stretch (security), stretch (lts), stretch | 1:3.15.2-3+deb9u1 | fixed | |
buster (security), buster, buster (lts) | 1:3.19-3+deb10u1 | fixed | |
bullseye (security), bullseye | 1:3.21-1+deb11u1 | fixed | |
bookworm | 1:3.24-1.1 | fixed | |
sid, trixie | 1:3.26.1-6 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
nbd | source | jessie | (unfixed) | end-of-life | ||
nbd | source | stretch | 1:3.15.2-3+deb9u1 | DLA-2944-1 | ||
nbd | source | buster | 1:3.19-3+deb10u1 | DSA-5100-1 | ||
nbd | source | bullseye | 1:3.21-1+deb11u1 | DSA-5100-1 | ||
nbd | source | (unstable) | 1:3.24-1 | 1006915 |
https://lists.debian.org/nbd/2022/01/msg00037.html