Vulnerability Name:

CVE-2022-20650 (CCN-220334)

Assigned:2021-11-02
Published:2022-02-23
Updated:2022-03-08
Summary:A vulnerability in the NX-API feature of Cisco NX-OS Software could allow an authenticated, remote attacker to execute arbitrary commands with root privileges. The vulnerability is due to insufficient input validation of user supplied data that is sent to the NX-API. An attacker could exploit this vulnerability by sending a crafted HTTP POST request to the NX-API of an affected device. A successful exploit could allow the attacker to execute arbitrary commands with root privileges on the underlying operating system.
Note: The NX-API feature is disabled by default.
CVSS v3 Severity:8.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
7.7 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/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): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
8.8 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
7.7 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/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): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:9.0 High (CVSS v2 Vector: AV:N/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
9.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-78
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2022-20650

Source: XF
Type: UNKNOWN
cisco-cve202220650-cmd-exec(220334)

Source: CCN
Type: Cisco Security Advisory cisco-sa-nxos-nxapi-cmdinject-ULukNMZ2
Cisco NX-OS Software NX-API Command Injection Vulnerability

Source: CISCO
Type: Vendor Advisory
20220223 Cisco NX-OS Software NX-API Command Injection Vulnerability

Vulnerable Configuration:Configuration 1:
  • cpe:/o:cisco:nx-os:10.2(1.72):*:*:*:*:*:*:*
  • AND
  • cpe:/h:cisco:n9k-c9316d-gx:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:n9k-c9332d-gx2b:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:n9k-c9348d-gx2a:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:n9k-c93600cd-gx:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:n9k-c9364d-gx2a:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3048:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_31108pc-v:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_31108tc-v:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_31128pq:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3132c-z:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3132q-v:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3132q-x:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3132q-xl:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3164q:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3172pq:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3172pq-xl:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3172tq-xl:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3232c:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3264c-e:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3264q:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3408-s:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_34180yc:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3432d-s:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3464c:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3524-x:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3524-xl:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3548-x:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3548-xl:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_36180yc-r:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3636c-r:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_92160yc-x:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_92300yc:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_92304qc:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_92348gc-x:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9236c:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9272q:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_93108tc-ex:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_93108tc-fx:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_93108tc-fx3p:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_93120tx:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_93180yc-ex:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_93180yc-fx:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_93180yc-fx3:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_93216tc-fx2:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_93240yc-fx2:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9332c:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_93360yc-fx2:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9336c-fx2:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9336c-fx2-e:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9348gc-fxp:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9364c:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9364c-gx:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9504_switch:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9508_switch:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9516_switch:-:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:cisco:nx-os:7.3(8)n1(0.4):*:*:*:*:*:*:*
  • AND
  • cpe:/h:cisco:nexus_5548p:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_5548up:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_5596t:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_5596up:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_56128p:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_5672up:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_5672up-16g:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_6000:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_6001:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_6004:-:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:cisco:nx-os:*:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    cisco nx-os 10.2(1.72)
    cisco n9k-c9316d-gx -
    cisco n9k-c9332d-gx2b -
    cisco n9k-c9348d-gx2a -
    cisco n9k-c93600cd-gx -
    cisco n9k-c9364d-gx2a -
    cisco nexus 3048 -
    cisco nexus 31108pc-v -
    cisco nexus 31108tc-v -
    cisco nexus 31128pq -
    cisco nexus 3132c-z -
    cisco nexus 3132q-v -
    cisco nexus 3132q-x -
    cisco nexus 3132q-xl -
    cisco nexus 3164q -
    cisco nexus 3172pq -
    cisco nexus 3172pq-xl -
    cisco nexus 3172tq-xl -
    cisco nexus 3232c -
    cisco nexus 3264c-e -
    cisco nexus 3264q -
    cisco nexus 3408-s -
    cisco nexus 34180yc -
    cisco nexus 3432d-s -
    cisco nexus 3464c -
    cisco nexus 3524-x -
    cisco nexus 3524-xl -
    cisco nexus 3548-x -
    cisco nexus 3548-xl -
    cisco nexus 36180yc-r -
    cisco nexus 3636c-r -
    cisco nexus 92160yc-x -
    cisco nexus 92300yc -
    cisco nexus 92304qc -
    cisco nexus 92348gc-x -
    cisco nexus 9236c -
    cisco nexus 9272q -
    cisco nexus 93108tc-ex -
    cisco nexus 93108tc-fx -
    cisco nexus 93108tc-fx3p -
    cisco nexus 93120tx -
    cisco nexus 93180yc-ex -
    cisco nexus 93180yc-fx -
    cisco nexus 93180yc-fx3 -
    cisco nexus 93216tc-fx2 -
    cisco nexus 93240yc-fx2 -
    cisco nexus 9332c -
    cisco nexus 93360yc-fx2 -
    cisco nexus 9336c-fx2 -
    cisco nexus 9336c-fx2-e -
    cisco nexus 9348gc-fxp -
    cisco nexus 9364c -
    cisco nexus 9364c-gx -
    cisco nexus 9504 switch -
    cisco nexus 9508 switch -
    cisco nexus 9516 switch -
    cisco nx-os 7.3(8)n1(0.4)
    cisco nexus 5548p -
    cisco nexus 5548up -
    cisco nexus 5596t -
    cisco nexus 5596up -
    cisco nexus 56128p -
    cisco nexus 5672up -
    cisco nexus 5672up-16g -
    cisco nexus 6000 -
    cisco nexus 6001 -
    cisco nexus 6004 -
    cisco nx-os *