Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Network Block Device Project | Network Block Device | < 3.24 |
| Debian | Debian Linux | 9.0 |
| Fedoraproject | Fedora | 34 |
Related Weaknesses (CWE)
References
- https://lists.debian.org/debian-lts-announce/2022/03/msg00014.htmlMailing ListThird Party Advisory
- https://lists.debian.org/nbd/2022/01/msg00037.htmlExploitMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://security.gentoo.org/glsa/202402-10
- https://sourceforge.net/projects/nbd/files/nbd/ProductRelease NotesThird Party Advisory
- https://www.debian.org/security/2022/dsa-5100Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00014.htmlMailing ListThird Party Advisory
- https://lists.debian.org/nbd/2022/01/msg00037.htmlExploitMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://security.gentoo.org/glsa/202402-10
- https://sourceforge.net/projects/nbd/files/nbd/ProductRelease NotesThird Party Advisory
FAQ
What is CVE-2022-26495?
CVE-2022-26495 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 allocate...
How severe is CVE-2022-26495?
CVE-2022-26495 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2022-26495?
Check the references section above for vendor advisories and patch information. Affected products include: Network Block Device Project Network Block Device, Debian Debian Linux, Fedoraproject Fedora.