# What is CVE-2017-12301?

> CVE-2017-12301 is a medium-severity flaw (CVSS 6.7) in NX-OS from Cisco, published on 19 October 2017. It is not on the list of flaws known to be exploited today. The latest forecast puts its chance of use in the next 30 days at 0.5%. If you run an affected version, plan in the vendor’s fix.

Canonical page: https://www.precursorintelligence.com/what-is/cve-2017-12301

## At a glance

- **Verdict:** Plan it in. No sign of exploitation and a low forecast. Patch it in your normal update cycle.
- **Precursor Intelligence risk score:** 23 out of 100 (Low); action: Monitor. Kept up to date as the evidence changes.
- **Severity:** Medium (CVSS 6.7 out of 10)
- **Known to be exploited:** No, not on the list of flaws known to be exploited today
- **Chance of use in the next 30 days:** 0.5% (latest exploit-likelihood forecast)
- **Published:** 19 October 2017
- **Record last updated:** 20 April 2025
- **Main product:** NX-OS from Cisco
- **Affected products:** 38

## What is CVE-2017-12301? In plain terms

An attacker has to be already on the device with an administrator account, and nobody has to click anything. If it works, the attacker can read data, change data and take it offline.

### The official description

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.

### What kind of flaw is it?

- CWE-20: Improper Input Validation

### How an attack on it works

- Where an attacker can be: Already on the device
- How hard it is to pull off: Easy: no special conditions
- Login needed first: An administrator account
- Does someone have to click: No, nobody has to do anything
- What an attacker gets: Can read data, change data and take it offline

Severity vector: `CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## Is CVE-2017-12301 being exploited? Not that we know of

It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 0.5%. That can change at any time, which is why we keep watching.

Exploit likelihood over the last 7 days: 0.5%, 0.5%, 0.5%, 0.5%, 0.5%, 0.5%, 0.5%.

### Timeline

- 19 October 2017: Published
- 20 April 2025: Record last updated

### How Precursor Intelligence ranks it

CVE-2017-12301 scores **23 out of 100 (Low)**, with the action "Monitor".

Every published flaw gets a risk score from 0 to 100, kept up to date as the evidence changes. Four things go into the score, from the one that counts most to the ones that count less:

- Evidence it is being exploited: biggest factor
- How severe it is: strong factor
- How widely exposed it is: smaller factor
- Threat activity around it: smaller factor

85 and above is Critical. Anything confirmed as exploited is always marked for an emergency patch, whatever its score. When this flaw matches software you track, it lands in your list with its score and the reasons behind it.

## Who is affected by CVE-2017-12301?

The published record lists 38 products.

- [NX-OS](https://www.precursorintelligence.com/product/cisco/nx-os) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Operating system): 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), 8.0(1), 8.1(0.70)s0, 8.1(0)bd(0.20)
- [Multilayer Director](https://www.precursorintelligence.com/product/cisco/multilayer_director) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 2000](https://www.precursorintelligence.com/product/cisco/nexus_2000) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3000](https://www.precursorintelligence.com/product/cisco/nexus_3000) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3016](https://www.precursorintelligence.com/product/cisco/nexus_3016) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3016q](https://www.precursorintelligence.com/product/cisco/nexus_3016q) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3048](https://www.precursorintelligence.com/product/cisco/nexus_3048) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3064](https://www.precursorintelligence.com/product/cisco/nexus_3064) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3064t](https://www.precursorintelligence.com/product/cisco/nexus_3064t) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3064x](https://www.precursorintelligence.com/product/cisco/nexus_3064x) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3500](https://www.precursorintelligence.com/product/cisco/nexus_3500) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3524](https://www.precursorintelligence.com/product/cisco/nexus_3524) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3548](https://www.precursorintelligence.com/product/cisco/nexus_3548) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 5000](https://www.precursorintelligence.com/product/cisco/nexus_5000) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 5010](https://www.precursorintelligence.com/product/cisco/nexus_5010) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 5010p Switch](https://www.precursorintelligence.com/product/cisco/nexus_5010p_switch) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 5500](https://www.precursorintelligence.com/product/cisco/nexus_5500) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 5548p](https://www.precursorintelligence.com/product/cisco/nexus_5548p) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 5548up](https://www.precursorintelligence.com/product/cisco/nexus_5548up) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 5596t](https://www.precursorintelligence.com/product/cisco/nexus_5596t) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 5596up](https://www.precursorintelligence.com/product/cisco/nexus_5596up) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 5600](https://www.precursorintelligence.com/product/cisco/nexus_5600) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 56128p](https://www.precursorintelligence.com/product/cisco/nexus_56128p) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 5624q](https://www.precursorintelligence.com/product/cisco/nexus_5624q) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 5648q](https://www.precursorintelligence.com/product/cisco/nexus_5648q) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 5672up](https://www.precursorintelligence.com/product/cisco/nexus_5672up) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 5696q](https://www.precursorintelligence.com/product/cisco/nexus_5696q) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 6000](https://www.precursorintelligence.com/product/cisco/nexus_6000) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 6001](https://www.precursorintelligence.com/product/cisco/nexus_6001) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 6004](https://www.precursorintelligence.com/product/cisco/nexus_6004) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 6004x](https://www.precursorintelligence.com/product/cisco/nexus_6004x) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 7000](https://www.precursorintelligence.com/product/cisco/nexus_7000) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 7000 10-Slot](https://www.precursorintelligence.com/product/cisco/nexus_7000_10-slot) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 7000 18-Slot](https://www.precursorintelligence.com/product/cisco/nexus_7000_18-slot) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 7000 9-Slot](https://www.precursorintelligence.com/product/cisco/nexus_7000_9-slot) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 7700](https://www.precursorintelligence.com/product/cisco/nexus_7700) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 9000](https://www.precursorintelligence.com/product/cisco/nexus_9000) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 9500 R](https://www.precursorintelligence.com/product/cisco/nexus_9500_r) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified

## How do I fix CVE-2017-12301?

1. **Check whether you run it.** Compare your versions with the affected products above. Not sure what you run? Precursor Intelligence can work it out from your public website, or you can pick it from a list.
2. **Apply the vendor’s fix.** Install the update named in the vendor’s advisory. We’ve put the advisory first in the list.
3. **If you can’t patch today.** Follow any mitigation the vendor publishes, and limit who can reach the affected system from the internet until the update is in.
4. **Keep an eye on it.** Track the product and we tell you as soon as we spot this flaw on the list of exploited flaws, or a jump in its exploit likelihood.

### References

- [tools.cisco.com](https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20171018-ppe) (Vendor advisory)
- [securitytracker.com](http://www.securitytracker.com/id/1039622) (Third-party advisory, Vulnerability database)

## Questions

### What is CVE-2017-12301?

CVE-2017-12301 is a medium-severity flaw in NX-OS from Cisco, published on 19 October 2017. An attacker has to be already on the device with an administrator account, and nobody has to click anything. If it works, the attacker can read data, change data and take it offline.

### How serious is CVE-2017-12301?

It scores 6.7 out of 10 on the CVSS severity scale, which is medium. Our risk score for CVE-2017-12301 is 23 out of 100, which is Low. Its action is "Monitor". No sign of exploitation and a low forecast. Patch it in your normal update cycle.

### Is CVE-2017-12301 being exploited?

It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 0.5%. That can change at any time, which is why we keep watching.

### Which versions does CVE-2017-12301 affect?

For NX-OS from Cisco: 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) and 3 more. The record lists 38 products in all, each with its versions, under "Who is affected" on this page.

### How do I fix CVE-2017-12301?

Install the update the vendor names in its advisory, linked first under "How do I fix" on this page. If you can't patch today, follow the vendor's mitigation and limit who can reach the affected system from the internet.

## Does CVE-2017-12301 affect you?

Precursor Intelligence keeps checking for you:

- **Tell us what you run.** Pick your software from a list, or let us work it out from your website.
- **We match it to every flaw.** Over 400,000 published flaws, checked against your list.
- **Ranked by real-world risk.** Every flaw gets a 0 to 100 risk score, kept up to date, led by evidence criminals are using it.
- **Told as soon as we know.** An alert by email, in the app or by webhook to your own tools.

Start free (no card, nothing to install): https://www.precursorintelligence.com/register
Book a demo: https://www.precursorintelligence.com/contact

