Vulnerability Name:

CVE-2022-26495 (CCN-221172)

Assigned:2022-01-24
Published:2022-01-24
Updated:2022-04-25
Summary: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 v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
9.8 Critical (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
10.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-190
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2022-26495

Source: XF
Type: UNKNOWN
nbd-cve202226495-bo(221172)

Source: MLIST
Type: Mailing List, Third Party Advisory
[debian-lts-announce] 20220310 [SECURITY] [DLA 2944-1] nbd security update

Source: CCN
Type: nbd Mailing List, Mon, 24 Jan 2022 12:10:06 +0800
report security problem of nbd

Source: MISC
Type: Exploit, Mailing List, Third Party Advisory
https://lists.debian.org/nbd/2022/01/msg00037.html

Source: FEDORA
Type: Issue Tracking, Third Party Advisory
FEDORA-2022-263873fb70

Source: FEDORA
Type: Issue Tracking, Third Party Advisory
FEDORA-2022-62adf9a1e0

Source: FEDORA
Type: Issue Tracking, Third Party Advisory
FEDORA-2022-807e431d5f

Source: CCN
Type: nbd Web site
Network Block Device Files

Source: MISC
Type: Product, Release Notes, Third Party Advisory
https://sourceforge.net/projects/nbd/files/nbd/

Source: DEBIAN
Type: Third Party Advisory
DSA-5100

Vulnerable Configuration:Configuration 1:
  • cpe:/a:network_block_device_project:network_block_device:*:*:*:*:*:*:*:* (Version < 3.24)

  • Configuration 2:
  • cpe:/o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:11.0:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/o:fedoraproject:fedora:34:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:35:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:36:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    network_block_device_project network block device *
    debian debian linux 9.0
    debian debian linux 10.0
    debian debian linux 11.0
    fedoraproject fedora 34
    fedoraproject fedora 35
    fedoraproject fedora 36