CVE-2017-12301 in Cisco NX-OS and 37 more products
A vulnerability in the Python scripting subsystem of Cisco NX-OS Software could allow an authenticated, local attacker to escape the Python parser and gain unauthorized access to the underlying operating system of the device. The vulnerability exists due to insufficient sanitization of user-supplied parameters that are passed to certain Python functions within the scripting sandbox of the affected device. An attacker could exploit this vulnerability to escape the scripting sandbox and execute arbitrary commands on the underlying operating system with the privileges of the authenticated user. To exploit this vulnerability, an attacker must have local access and be authenticated to the targeted device with administrative or Python execution privileges. These requirements could limit the possibility of a successful exploit. This vulnerability affects the following Cisco products if they are running Cisco NX-OS Software: Multilayer Director Switches, Nexus 2000 Series Fabric Extenders, Nexus 3000 Series Switches, Nexus 3500 Platform Switches, Nexus 5000 Series 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 - Standalone, NX-OS mode, Nexus 9500 R-Series Line Cards and Fabric Modules. Cisco Bug IDs: CSCvb86832, CSCvd86474, CSCvd86479, CSCvd86484, CSCvd86490, CSCve97102, CSCvf12757, CSCvf12804, CSCvf12815, CSCvf15198.
Affects 38 products from 1 vendor. Description from NVD and MITRE.
Requires local access, low complexity, high 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 | 6.0(2)a8(3) 6.0(2)a8(6.213) 7.0(0)hsk(0.357) 7.0(3)i4(6) 7.3(2)d1(0.21) 8.0(0.74)+3 more8.0(1) 8.1(0.70)s0 8.1(0)bd(0.20) |
| Cisco | Nexus 2000 | 6.0(2)a8(3) 6.0(2)a8(6.213) 7.0(0)hsk(0.357) 7.0(3)i4(6) 7.3(2)d1(0.21) 8.0(0.74)+3 more8.0(1) 8.1(0.70)s0 8.1(0)bd(0.20) |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Cisco Nexus 5000, Cisco Nexus 7000, Cisco Nexus 3000, Cisco Nexus 5010, Cisco Nexus 5548P, Cisco Nexus 5548UP, Cisco Nexus 5596UP, Cisco Nexus 7000 10-Slot, Cisco Nexus 7000 18-Slot, Cisco Nexus 7000 9-Slot, Cisco Nexus 5010P Switch, Cisco Nexus 3016Q, Cisco Nexus 3048, Cisco Nexus 3548, Cisco Nexus 9000, Cisco Nexus 5596T, Cisco Nexus 56128P, Cisco Nexus 5672UP, Cisco Nexus 6001, Cisco Nexus 6004, Cisco Nexus 6004X, Cisco Nexus 7700, Cisco Nexus 5624Q, Cisco Nexus 5648Q, Cisco Nexus 5696Q, Cisco Nexus 3016, Cisco Nexus 3064, Cisco Nexus 3524, Cisco Multilayer Director, Cisco Nexus 3500, Cisco Nexus 5500, Cisco Nexus 5600, Cisco Nexus 6000, Cisco Nexus 3064-T, Cisco Nexus 3064-X, Cisco Nexus 9500R
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-2017-12301 |
|---|---|
| BreachSpider ID | BS-2017-GLOBAL-115195-M |
| CVSS vector | CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Published | 2017-10-19 |
| 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.