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.
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: mitre

Published: 2022-03-06T00:00:00

Updated: 2024-02-04T11:06:25.543428

Reserved: 2022-03-06T00:00:00


Link: CVE-2022-26495

JSON object: View

cve-icon NVD Information

Status : Modified

Published: 2022-03-06T06:15:07.303

Modified: 2024-02-04T11:15:08.227


Link: CVE-2022-26495

JSON object: View

cve-icon Redhat Information

No data.

CWE