7.2
CWE
20
Advisory Published
Updated

CVE-2017-12301: Input Validation

First published: Thu Oct 19 2017(Updated: )

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.

Credit: ykramarz@cisco.com

Affected SoftwareAffected VersionHow to fix
Cisco NX-OS=7.0\(3\)i4\(6\)
Cisco NX-OS=8.1\(0\)bd\(0.20\)
Cisco Multilayer Director
Cisco Nexus 2000
Cisco Nexus 3048 Firmware
Cisco Nexus 3064x
Cisco Nexus 3064
Cisco Nexus 3064X Firmware
Cisco Nexus 3500 Platform
Cisco Nexus 3524-xl
Cisco Nexus 3548-X/XL Firmware
Cisco NX-OS for Nexus 5500 Platform Switches
Cisco Nexus 5548P Firmware
Cisco Nexus 5548UP Firmware
Cisco Nexus 5596T Firmware
Cisco Nexus 5596UP Firmware
Cisco NX-OS for nexus 5600 platform switches
Cisco Nexus 56128p Firmware
Cisco Nexus 5624Q Firmware
Cisco Nexus 5648q Firmware
Cisco Nexus 5672UP-16G
Cisco Nexus 5696Q Firmware
Cisco Nexus 6000 firmware
Cisco Nexus 6001 Firmware
Cisco Nexus 6004 Firmware
Cisco Nexus 6004X Firmware
Cisco Nexus 7000
Cisco Nexus 7000 10-slot
Cisco Nexus 7000 18-slot
Cisco Nexus 7000 9-Slot Firmware
Cisco Nexus 7700 series
Cisco Nexus 9000 Firmware
Cisco Nexus 9500
Cisco NX-OS=7.3\(2\)d1\(0.21\)
Cisco NX-OS=8.0\(0.74\)
Cisco NX-OS=8.0\(1\)
Cisco NX-OS=8.1\(0.70\)s0
Cisco NX-OS=6.0\(2\)a8\(3\)
Cisco NX-OS=6.0\(2\)a8\(6.213\)
Cisco Nexus 3000
Cisco Nexus 3016Q Firmware
Cisco Nexus 3016Q
Cisco NX-OS=7.0\(0\)hsk\(0.357\)
Cisco Nexus 5000 firmware
Cisco Nexus 5010
Cisco Nexus 5010

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203