PT-2022-2040

CVE-2022-26495

·

Published

2022-03-06

·

Updated

2026-10-31

Description by

CVSS 2.0
10
Critical
MetricsAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions nbd versions prior to 3.24
Description The issue is related to an integer overflow in the implementation of network block devices (nbd), which can lead to a heap-based buffer overflow. This can be exploited by a remote attacker by sending specially crafted messages, including NBD OPT INFO, NBD OPT GO, and NBD OPT EXPORT NAME, allowing the execution of arbitrary code. A specific value of 0xffffffff in the name length field can cause a zero-sized buffer to be allocated, resulting in a write to a dangling pointer.
Recommendations For versions prior to 3.24, update to version 3.24 or later to resolve the issue. As a temporary workaround, consider restricting access to the NBD OPT INFO, NBD OPT GO, and NBD OPT EXPORT NAME messages until a patch is available. Avoid using the name length field with a value of 0xffffffff in the affected API endpoints until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
ALT-PU-2024-15569
ALT-PU-2024-15571
ALT-PU-2024-1889
ALT-PU-2024-2449
CLEANSTART-2023-NE83560
DLA-2944-1
DSA-5100-1
MGASA-2022-0403
OPENSUSE-SU-2022_1276-1
OPENSUSE-SU-2024:11993-1
SUSE-SU-2022:1276-1
USN-5323-1
Found an issue in the description? Have something to add? Feel free to write us 👾