Name | CVE-2022-26496 |
Description | In nbd-server in nbd before 3.24, there is a stack-based buffer overflow. An attacker can cause a buffer overflow in the parsing of the name field by sending a crafted NBD_OPT_INFO or NBD_OPT_GO message with an large value as the length of the name. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-5100-1 |
Debian Bugs | 1006915 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
nbd (PTS) | 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 | stretch | (not affected) | | | |
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 |
Notes
[stretch] - nbd <not-affected> (NBD_OPT_INFO/NBD_OPT_GO introduced later, in 3.16)
https://lists.debian.org/nbd/2022/01/msg00036.html
https://lists.debian.org/nbd/2022/01/msg00037.html