Paper/Archive/CVE-2022-26495

CVE-2022-26495

mitre — In nbd-server in nbd before 3.24, there is an integer overflow with a resultant heap-based buffer overflow.

Description · from the CVE record

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

ProductAffectedFixed inSource
n/an/a–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References

reflists.debian.org/nbd/2022/01/msg00037.htmlrefsourceforge.net/projects/nbd/files/nbdreflists.debian.org/debian-lts-announce/2022/03/msg00014.htmladvisorydebian.org/security/2022/dsa-5100advisorylists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IZHR73XMAJTCFGKUZRXVTZKCK2X3IFNAadvisorylists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PU5JFD4PEJED72TZLZ5R2Q2SFXICU5I5advisorylists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G2UPX62BIWOOHSACGUDB7E3O4URNN37Fadvisorysecurity.gentoo.org/glsa/202402-10