Exploited
CWE
78 77
Advisory Published
Updated

CVE-2024-20399: Cisco NX-OS Command Injection Vulnerability

First published: Mon Jul 01 2024(Updated: )

A vulnerability in the CLI of Cisco NX-OS Software could allow an authenticated user in possession of Administrator credentials to execute arbitrary commands as root on the underlying operating system of an affected device. This vulnerability is due to insufficient validation of arguments that are passed to specific configuration CLI commands. An attacker could exploit this vulnerability by including crafted input as the argument of an affected configuration CLI command. A successful exploit could allow the attacker to execute arbitrary commands on the underlying operating system with the privileges of root. Note: To successfully exploit this vulnerability on a Cisco NX-OS device, an attacker must have Administrator credentials. The following Cisco devices already allow administrative users to access the underlying operating system through the bash-shell feature, so, for these devices, this vulnerability does not grant any additional privileges: Nexus 3000 Series Switches Nexus 7000 Series Switches that are running Cisco NX-OS Software releases 8.1(1) and later Nexus 9000 Series Switches in standalone NX-OS mode

Credit: ykramarz@cisco.com ykramarz@cisco.com

Affected SoftwareAffected VersionHow to fix
All of
Any of
Cisco Nx-os=6.2\(2\)
Cisco Nx-os=6.2\(2a\)
Cisco Nx-os=6.2\(6\)
Cisco Nx-os=6.2\(6a\)
Cisco Nx-os=6.2\(6b\)
Cisco Nx-os=6.2\(8\)
Cisco Nx-os=6.2\(8a\)
Cisco Nx-os=6.2\(8b\)
Cisco Nx-os=6.2\(10\)
Cisco Nx-os=6.2\(12\)
Cisco Nx-os=6.2\(14\)
Cisco Nx-os=6.2\(16\)
Cisco Nx-os=6.2\(18\)
Cisco Nx-os=6.2\(20\)
Cisco Nx-os=6.2\(20a\)
Cisco Nx-os=6.2\(22\)
Cisco Nx-os=6.2\(24\)
Cisco Nx-os=6.2\(24a\)
Cisco Nx-os=7.2\(0\)d1\(1\)
Cisco Nx-os=7.2\(1\)d1\(1\)
Cisco Nx-os=7.2\(2\)d1\(1\)
Cisco Nx-os=7.2\(2\)d1\(2\)
Cisco Nx-os=7.3\(0\)d1\(1\)
Cisco Nx-os=7.3\(0\)dx\(1\)
Cisco Nx-os=7.3\(1\)d1\(1\)
Cisco Nx-os=7.3\(2\)d1\(1\)
Cisco Nx-os=7.3\(2\)d1\(2\)
Cisco Nx-os=7.3\(2\)d1\(3\)
Cisco Nx-os=7.3\(2\)d1\(3a\)
Cisco Nx-os=7.3\(3\)d1\(1\)
Cisco Nx-os=7.3\(4\)d1\(1\)
Cisco Nx-os=7.3\(5\)d1\(1\)
Cisco Nx-os=7.3\(6\)d1\(1\)
Cisco Nx-os=7.3\(7\)d1\(1\)
Cisco Nx-os=7.3\(8\)d1\(1\)
Cisco Nx-os=7.3\(9\)d1\(1\)
Cisco Nx-os=8.0\(1\)
Cisco Nx-os=8.1\(1\)
Cisco Nx-os=8.1\(2\)
Cisco Nx-os=8.1\(2a\)
Cisco Nx-os=8.2\(1\)
Cisco Nx-os=8.2\(2\)
Cisco Nx-os=8.2\(3\)
Cisco Nx-os=8.2\(4\)
Cisco Nx-os=8.2\(5\)
Cisco Nx-os=8.2\(6\)
Cisco Nx-os=8.2\(7\)
Cisco Nx-os=8.2\(7a\)
Cisco Nx-os=8.2\(8\)
Cisco Nx-os=8.2\(9\)
Cisco Nx-os=8.2\(10\)
Cisco Nx-os=8.2\(11\)
Cisco Nx-os=8.3\(1\)
Cisco Nx-os=8.3\(2\)
Cisco Nx-os=8.4\(1\)
Cisco Nx-os=8.4\(2\)
Cisco Nx-os=8.4\(3\)
Cisco Nx-os=8.4\(4\)
Cisco Nx-os=8.4\(4a\)
Cisco Nx-os=8.4\(5\)
Cisco Nx-os=8.4\(6\)
Cisco Nx-os=8.4\(6a\)
Cisco Nx-os=8.4\(7\)
Cisco Nx-os=8.4\(8\)
Cisco Nx-os=8.4\(9\)
Any of
Cisco Nexus 7000
Cisco Nexus 7000 10-slot
Cisco Nexus 7000 18-slot
Cisco Nexus 7000 4-slot
Cisco Nexus 7000 9-slot
Cisco Nexus 7000 Supervisor 1
Cisco Nexus 7000 Supervisor 2
Cisco Nexus 7000 Supervisor 2e
Cisco Nexus 7004
Cisco Nexus 7009
Cisco Nexus 7010
Cisco Nexus 7018
Cisco Nexus 7700
Cisco Nexus 7700 10-slot
Cisco Nexus 7700 18-slot
Cisco Nexus 7700 2-slot
Cisco Nexus 7700 6-slot
Cisco Nexus 7700 Supervisor 2e
Cisco Nexus 7700 Supervisor 3e
Cisco Nexus 7702
Cisco Nexus 7706
Cisco Nexus 7710
Cisco Nexus 7718
All of
Any of
Cisco Nx-os=6.2\(1\)
Cisco Nx-os=6.2\(3\)
Cisco Nx-os=6.2\(5\)
Cisco Nx-os=6.2\(5a\)
Cisco Nx-os=6.2\(5b\)
Cisco Nx-os=6.2\(7\)
Cisco Nx-os=6.2\(9\)
Cisco Nx-os=6.2\(9a\)
Cisco Nx-os=6.2\(9b\)
Cisco Nx-os=6.2\(9c\)
Cisco Nx-os=6.2\(11\)
Cisco Nx-os=6.2\(11b\)
Cisco Nx-os=6.2\(11c\)
Cisco Nx-os=6.2\(11d\)
Cisco Nx-os=6.2\(11e\)
Cisco Nx-os=6.2\(13\)
Cisco Nx-os=6.2\(13a\)
Cisco Nx-os=6.2\(13b\)
Cisco Nx-os=6.2\(15\)
Cisco Nx-os=6.2\(17\)
Cisco Nx-os=6.2\(19\)
Cisco Nx-os=6.2\(21\)
Cisco Nx-os=6.2\(23\)
Cisco Nx-os=6.2\(25\)
Cisco Nx-os=6.2\(27\)
Cisco Nx-os=6.2\(29\)
Cisco Nx-os=6.2\(31\)
Cisco Nx-os=6.2\(33\)
Cisco Nx-os=7.3\(0\)d1\(1\)
Cisco Nx-os=7.3\(0\)dy\(1\)
Cisco Nx-os=7.3\(1\)d1\(1\)
Cisco Nx-os=7.3\(1\)dy\(1\)
Cisco Nx-os=8.1\(1\)
Cisco Nx-os=8.1\(1a\)
Cisco Nx-os=8.1\(1b\)
Cisco Nx-os=8.2\(1\)
Cisco Nx-os=8.2\(2\)
Cisco Nx-os=8.3\(1\)
Cisco Nx-os=8.3\(2\)
Cisco Nx-os=8.4\(1\)
Cisco Nx-os=8.4\(1a\)
Cisco Nx-os=8.4\(2\)
Cisco Nx-os=8.4\(2a\)
Cisco Nx-os=8.4\(2b\)
Cisco Nx-os=8.4\(2c\)
Cisco Nx-os=8.4\(2d\)
Cisco Nx-os=8.4\(2e\)
Cisco Nx-os=8.4\(2f\)
Cisco Nx-os=8.5\(1\)
Cisco Nx-os=9.2\(1\)
Cisco Nx-os=9.2\(1a\)
Cisco Nx-os=9.2\(2\)
Cisco Nx-os=9.3\(1\)
Cisco Nx-os=9.3\(2\)
Cisco Nx-os=9.3\(2a\)
Cisco Nx-os=9.4\(1\)
Cisco Nx-os=9.4\(1a\)
Cisco Nx-os=9.4\(2\)
Any of
Cisco MDS 9000
Cisco Mds 9100
Cisco Mds 9132t
Cisco Mds 9134
Cisco Mds 9140
Cisco Mds 9148
Cisco Mds 9148s
Cisco Mds 9148t
Cisco Mds 9200
Cisco Mds 9216
Cisco Mds 9216a
Cisco Mds 9216i
Cisco Mds 9222i
Cisco Mds 9250i
Cisco Mds 9396s
Cisco Mds 9396t
Cisco Mds 9500
Cisco Mds 9506
Cisco Mds 9509
Cisco Mds 9513
Cisco Mds 9700
Cisco Mds 9706
Cisco Mds 9710
Cisco Mds 9718
All of
Any of
Cisco Nx-os=6.0\(2\)a6\(1\)
Cisco Nx-os=6.0\(2\)a6\(1a\)
Cisco Nx-os=6.0\(2\)a6\(2\)
Cisco Nx-os=6.0\(2\)a6\(2a\)
Cisco Nx-os=6.0\(2\)a6\(3\)
Cisco Nx-os=6.0\(2\)a6\(3a\)
Cisco Nx-os=6.0\(2\)a6\(4\)
Cisco Nx-os=6.0\(2\)a6\(4a\)
Cisco Nx-os=6.0\(2\)a6\(5\)
Cisco Nx-os=6.0\(2\)a6\(5a\)
Cisco Nx-os=6.0\(2\)a6\(5b\)
Cisco Nx-os=6.0\(2\)a6\(6\)
Cisco Nx-os=6.0\(2\)a6\(7\)
Cisco Nx-os=6.0\(2\)a6\(8\)
Cisco Nx-os=6.0\(2\)a8\(1\)
Cisco Nx-os=6.0\(2\)a8\(2\)
Cisco Nx-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\(7\)
Cisco Nx-os=9.3\(7a\)
Cisco Nx-os=9.3\(8\)
Cisco Nx-os=9.3\(9\)
Cisco Nx-os=9.3\(10\)
Cisco Nx-os=9.3\(11\)
Cisco Nx-os=9.3\(12\)
Cisco Nx-os=9.3\(13\)
Cisco Nx-os=10.1\(1\)
Cisco Nx-os=10.1\(2\)
Cisco Nx-os=10.2\(1\)
Cisco Nx-os=10.2\(1q\)
Cisco Nx-os=10.2\(2\)
Cisco Nx-os=10.2\(3\)
Cisco Nx-os=10.2\(4\)
Cisco Nx-os=10.2\(5\)
Cisco Nx-os=10.2\(6\)
Cisco Nx-os=10.2\(7\)
Cisco Nx-os=10.2\(8\)
Cisco Nx-os=10.3\(1\)
Cisco Nx-os=10.3\(2\)
Cisco Nx-os=10.3\(3\)
Cisco Nx-os=10.3\(4a\)
Cisco Nx-os=10.3\(5\)
Cisco Nx-os=10.3\(99w\)
Cisco Nx-os=10.3\(99x\)
Cisco Nx-os=10.4\(1\)
Cisco Nx-os=10.4\(2\)
Any of
Cisco Nexus 3000
Cisco Nexus 3016
Cisco Nexus 3016q
Cisco Nexus 3048
Cisco Nexus 3064
Cisco Nexus 3064-32t
Cisco Nexus 3064-t
Cisco Nexus 3064-x
Cisco Nexus 3064t
Cisco Nexus 3064x
Cisco Nexus 3100
Cisco Nexus 3100-v
Cisco Nexus 3100-z
Cisco Nexus 3100v
Cisco Nexus 31108pc-v
Cisco Nexus 31108pv-v
Cisco Nexus 31108tc-v
Cisco Nexus 31128pq
Cisco Nexus 3132c-z
Cisco Nexus 3132q
Cisco Nexus 3132q-v
Cisco Nexus 3132q-x
Cisco Nexus 3132q-x\/3132q-xl
Cisco Nexus 3132q-xl
Cisco Nexus 3164q
Cisco Nexus 3172
Cisco Nexus 3172pq
Cisco Nexus 3172pq-xl
Cisco Nexus 3172pq\/pq-xl
Cisco Nexus 3172tq
Cisco Nexus 3172tq-32t
Cisco Nexus 3172tq-xl
Cisco Nexus 3200
Cisco Nexus 3232
Cisco Nexus 3232c
Cisco Nexus 3232c
Cisco Nexus 3264c-e
Cisco Nexus 3264q
Cisco Nexus 3400
Cisco Nexus 3408-s
Cisco Nexus 34180yc
Cisco Nexus 34200yc-sm
Cisco Nexus 3432d-s
Cisco Nexus 3464c
Cisco Nexus 3500
Cisco Nexus 3524
Cisco Nexus 3524-x
Cisco Nexus 3524-x\/xl
Cisco Nexus 3524-xl
Cisco Nexus 3548
Cisco Nexus 3548-x
Cisco Nexus 3548-x\/xl
Cisco Nexus 3548-xl
Cisco Nexus 3600
Cisco Nexus 36180yc-r
Cisco Nexus 3636c-r
Cisco Nexus 9000
Cisco Nexus 9000 In Aci Mode
Cisco Nexus 9000 In Standalone
Cisco Nexus 9000 In Standalone Nx-os Mode
Cisco Nexus 9000v
Cisco Nexus 9200
Cisco Nexus 9200yc
Cisco Nexus 92160yc-x
Cisco Nexus 9221c
Cisco Nexus 92300yc
Cisco Nexus 92304qc
Cisco Nexus 9232e
Cisco Nexus 92348gc-x
Cisco Nexus 9236c
Cisco Nexus 9272q
Cisco Nexus 9300
Cisco Nexus 93108tc-ex
Cisco Nexus 93108tc-ex-24
Cisco Nexus 93108tc-fx
Cisco Nexus 93108tc-fx-24
Cisco Nexus 93108tc-fx3h
Cisco Nexus 93108tc-fx3p
Cisco Nexus 93120tx
Cisco Nexus 93128
Cisco Nexus 93128tx
Cisco Nexus 9316d-gx
Cisco Nexus 93180lc-ex
Cisco Nexus 93180tc-ex
Cisco Nexus 93180yc-ex
Cisco Nexus 93180yc-ex-24
Cisco Nexus 93180yc-fx
Cisco Nexus 93180yc-fx-24
Cisco Nexus 93180yc-fx3
Cisco Nexus 93180yc-fx3h
Cisco Nexus 93180yc-fx3s
Cisco Nexus 93216tc-fx2
Cisco Nexus 93240tc-fx2
Cisco Nexus 93240yc-fx2
Cisco Nexus 9332c
Cisco Nexus 9332d-gx2b
Cisco Nexus 9332d-h2r
Cisco Nexus 9332pq
Cisco Nexus 93360yc-fx2
Cisco Nexus 9336c-fx2
Cisco Nexus 9336c-fx2-e
Cisco Nexus 9336pq
Cisco Nexus 9336pq Aci
Cisco Nexus 9336pq Aci Spine
Cisco Nexus 9348d-gx2a
Cisco Nexus 9348gc-fx3
Cisco Nexus 9348gc-fxp
Cisco Nexus 93600cd-gx
Cisco Nexus 9364c
Cisco Nexus 9364c-gx
Cisco Nexus 9364d-gx2a
Cisco Nexus 9372px
Cisco Nexus 9372px-e
Cisco Nexus 9372tx
Cisco Nexus 9372tx-e
Cisco Nexus 9396px
Cisco Nexus 9396tx
Cisco Nexus 9408
Cisco Nexus 9432pq
Cisco Nexus 9500
Cisco Nexus 9500 16-slot
Cisco Nexus 9500 4-slot
Cisco Nexus 9500 8-slot
Cisco Nexus 9500 Supervisor A
Cisco Nexus 9500 Supervisor A\+
Cisco Nexus 9500 Supervisor B
Cisco Nexus 9500 Supervisor B\+
Cisco Nexus 9500r
Cisco Nexus 9504
Cisco Nexus 9508
Cisco Nexus 9516
Cisco Nexus 9536pq
Cisco Nexus 9636pq
Cisco Nexus 9716d-gx
Cisco Nexus 9736pq
Cisco Nexus 9800
Cisco Nexus 9804
Cisco Nexus 9808
All of
Any of
Cisco Nx-os=7.1\(0\)n1\(1\)
Cisco Nx-os=7.1\(0\)n1\(1a\)
Cisco Nx-os=7.1\(0\)n1\(1b\)
Cisco Nx-os=7.1\(1\)n1\(1\)
Cisco Nx-os=7.1\(2\)n1\(1\)
Cisco Nx-os=7.1\(3\)n1\(1\)
Cisco Nx-os=7.1\(3\)n1\(2\)
Cisco Nx-os=7.1\(4\)n1\(1\)
Cisco Nx-os=7.1\(5\)n1\(1\)
Cisco Nx-os=7.1\(5\)n1\(1b\)
Cisco Nx-os=7.3\(0\)n1\(1\)
Cisco Nx-os=7.3\(1\)n1\(1\)
Cisco Nx-os=7.3\(2\)n1\(1\)
Cisco Nx-os=7.3\(3\)n1\(1\)
Cisco Nx-os=7.3\(4\)n1\(1\)
Cisco Nx-os=7.3\(5\)n1\(1\)
Cisco Nx-os=7.3\(6\)n1\(1\)
Cisco Nx-os=7.3\(7\)n1\(1\)
Cisco Nx-os=7.3\(7\)n1\(1a\)
Cisco Nx-os=7.3\(7\)n1\(1b\)
Cisco Nx-os=7.3\(8\)n1\(1\)
Cisco Nx-os=7.3\(9\)n1\(1\)
Cisco Nx-os=7.3\(10\)n1\(1\)
Cisco Nx-os=7.3\(11\)n1\(1\)
Cisco Nx-os=7.3\(12\)n1\(1\)
Cisco Nx-os=7.3\(13\)n1\(1\)
Cisco Nx-os=7.3\(14\)n1\(1\)
Any of
Cisco Nexus 5000
Cisco Nexus 5010
Cisco Nexus 5020
Cisco Nexus 5500
Cisco Nexus 5548p
Cisco Nexus 5548up
Cisco Nexus 5596t
Cisco Nexus 5596up
Cisco Nexus 5600
Cisco Nexus 56128p
Cisco Nexus 5624q
Cisco Nexus 5648q
Cisco Nexus 5672up
Cisco Nexus 5672up-16g
Cisco Nexus 5696q

Remedy

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203