CVE-2018-0313 in Cisco NX-OS and 71 more products
A vulnerability in the NX-API feature of Cisco NX-OS Software could allow an authenticated, remote attacker to send a malicious packet to the management interface on an affected system and execute a command-injection exploit. The vulnerability is due to incorrect input validation of user-supplied data to the NX-API subsystem. An attacker could exploit this vulnerability by sending a malicious HTTP or HTTPS packet to the management interface of an affected system that has the NX-API feature enabled. A successful exploit could allow the attacker to execute arbitrary commands with root privileges. Note: NX-API is disabled by default. This vulnerability affects MDS 9000 Series Multilayer Switches, Nexus 2000 Series Fabric Extenders, Nexus 3000 Series Switches, Nexus 3500 Platform Switches, Nexus 5500 Platform Switches, Nexus 5600 Platform Switches, Nexus 6000 Series Switches, Nexus 7000 Series Switches, Nexus 7700 Series Switches, Nexus 9000 Series Switches in standalone NX-OS mode, Nexus 9500 R-Series Line Cards and Fabric Modules. Cisco Bug IDs: CSCvd47415, CSCve03216, CSCve03224, CSCve03234.
Affects 72 products from 1 vendor. Description from NVD and MITRE.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Cisco | NX-OS | 7.0(0)hsk(0.357) 8.0(1)s20 8.1(0.97)s0 8.1(0)bd(0.20) 8.1(1)s5 |
| Cisco | Nexus N9K-C9508-FM-R | 7.0(0)hsk(0.357) 8.0(1)s20 8.1(0.97)s0 8.1(0)bd(0.20) 8.1(1)s5 |
| Cisco | Nexus N9K-X9636C-R | 7.0(0)hsk(0.357) 8.0(1)s20 8.1(0.97)s0 8.1(0)bd(0.20) 8.1(1)s5 |
| Cisco | Nexus N9K-X9636Q-R | 7.0(0)hsk(0.357) 8.0(1)s20 8.1(0.97)s0 8.1(0)bd(0.20) 8.1(1)s5 |
| Cisco | Nexus 172TQ-XL | 7.0(0)hsk(0.357) 8.0(1)s20 8.1(0.97)s0 8.1(0)bd(0.20) 8.1(1)s5 |
| Cisco | Nexus C36180YC-R | 7.0(0)hsk(0.357) 8.0(1)s20 8.1(0.97)s0 8.1(0)bd(0.20) 8.1(1)s5 |
| Cisco | Nexus 2148T | 7.0(0)hsk(0.357) 8.0(1)s20 8.1(0.97)s0 8.1(0)bd(0.20) 8.1(1)s5 |
| Cisco | Nexus 2224TP Ge | 7.0(0)hsk(0.357) 8.0(1)s20 8.1(0.97)s0 8.1(0)bd(0.20) 8.1(1)s5 |
| Cisco | Nexus 2232PP 10GE | 7.0(0)hsk(0.357) 8.0(1)s20 8.1(0.97)s0 8.1(0)bd(0.20) 8.1(1)s5 |
| Cisco | Nexus 2232TM-E 10GE | 7.0(0)hsk(0.357) 8.0(1)s20 8.1(0.97)s0 8.1(0)bd(0.20) 8.1(1)s5 |
| Cisco | Nexus 2232TM 10GE | 7.0(0)hsk(0.357) 8.0(1)s20 8.1(0.97)s0 8.1(0)bd(0.20) 8.1(1)s5 |
| Cisco | Nexus 2248PQ 10GE | 7.0(0)hsk(0.357) 8.0(1)s20 8.1(0.97)s0 8.1(0)bd(0.20) 8.1(1)s5 |
| Cisco | Nexus 2248TP-E | 7.0(0)hsk(0.357) 8.0(1)s20 8.1(0.97)s0 8.1(0)bd(0.20) 8.1(1)s5 |
| Cisco | Nexus 2248TP Ge | 7.0(0)hsk(0.357) 8.0(1)s20 8.1(0.97)s0 8.1(0)bd(0.20) 8.1(1)s5 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Cisco Nexus 5000, Cisco Nexus 7000, Cisco Nexus 5010, Cisco Nexus 5020, Cisco Nexus 5548P, Cisco Nexus 5548UP, Cisco Nexus 5596UP, Cisco Nexus 3048, Cisco Nexus 3548, Cisco Nexus 5596T, Cisco Nexus 56128P, Cisco Nexus 5672UP, Cisco Nexus 7700, Cisco Nexus 5624Q, Cisco Nexus 5648Q, Cisco Nexus 5696Q, Cisco Nexus 93120TX, Cisco Nexus 93128TX, Cisco Nexus 9332PQ, Cisco Nexus 9372PX, Cisco Nexus 9372TX, Cisco Nexus 9396PX, Cisco Nexus 9396TX, Cisco Nexus 9504, Cisco Nexus 9508, Cisco Nexus 9516, Cisco Nexus 3016, Cisco Nexus 3132Q, Cisco Nexus 3164Q, Cisco Nexus 31128PQ, Cisco Nexus 3232C, Cisco Nexus 3264Q, Cisco Nexus 92160YC-X, Cisco Nexus 92304QC, Cisco Nexus 9236C, Cisco Nexus 9272Q, Cisco Nexus 93108TC-EX, Cisco Nexus 93180YC-EX, Cisco Nexus 3064-32T, Cisco Nexus 3064-T, Cisco Nexus 3064-X, Cisco Nexus 3100-V, Cisco Nexus 3132C-Z, Cisco Nexus 3132Q-X, Cisco Nexus 3132Q-XL, Cisco Nexus 3172PQ, Cisco Nexus 3172PQ-XL, Cisco Nexus 3172TQ, Cisco Nexus 3172TQ-32T, Cisco Nexus 3264C-E, Cisco Nexus 34180YC, Cisco Nexus 3524-X, Cisco Nexus 3524-XL, Cisco Nexus 3548-X, Cisco Nexus 3548-XL, Cisco Nexus 3636C-R, Cisco Nexus 6001P, Cisco Nexus 6001T
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2018-0313 |
|---|---|
| BreachSpider ID | BS-2018-GLOBAL-122428-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2018-06-21 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.