CVEvulnerability
CVE-2022-26495
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2022-03-06
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-190
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.
Affected configurations
• network block device project network block device (< 3.24)
• debian debian linux 9.0
• debian debian linux 10.0
• debian debian linux 11.0
• fedoraproject fedora 34
• fedoraproject fedora 35
• fedoraproject fedora 36
Related
Weakness · CWE (1)
- CWE-190 Integer Overflow or Wraparound weakness
References
- https://lists.debian.org/debian-lts-announce/2022/03/msg00014.html Mailing List, Third Party Advisory
- https://lists.debian.org/nbd/2022/01/msg00037.html Exploit, Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G2UPX62BIWOOHSACGUDB7E3O4URNN37F/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IZHR73XMAJTCFGKUZRXVTZKCK2X3IFNA/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PU5JFD4PEJED72TZLZ5R2Q2SFXICU5I5/ lists.fedoraproject.org
- https://security.gentoo.org/glsa/202402-10 security.gentoo.org
- https://sourceforge.net/projects/nbd/files/nbd/ Product, Release Notes, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5100 Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00014.html Mailing List, Third Party Advisory
- https://lists.debian.org/nbd/2022/01/msg00037.html Exploit, Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G2UPX62BIWOOHSACGUDB7E3O4URNN37F/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IZHR73XMAJTCFGKUZRXVTZKCK2X3IFNA/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PU5JFD4PEJED72TZLZ5R2Q2SFXICU5I5/ lists.fedoraproject.org
- https://security.gentoo.org/glsa/202402-10 security.gentoo.org
- https://sourceforge.net/projects/nbd/files/nbd/ Product, Release Notes, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5100 Third Party Advisory