# What is CVE-2018-0295?

> CVE-2018-0295 is a high-severity flaw (CVSS 7.5) in NX-OS from Cisco, published on 20 June 2018. 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 2.5%. If you run an affected version, plan in the vendor’s fix.

Canonical page: https://www.precursorintelligence.com/what-is/cve-2018-0295

## 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:** 47 out of 100 (Medium); action: Plan remediation. Kept up to date as the evidence changes.
- **Severity:** High (CVSS 7.5 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:** 2.5% (latest exploit-likelihood forecast)
- **Published:** 20 June 2018
- **Record last updated:** 9 October 2019
- **Main product:** NX-OS from Cisco
- **Affected products:** 65

## What is CVE-2018-0295? In plain terms

It can be attacked from anywhere on the internet without logging in, and nobody has to click anything. If it works, the attacker can take it offline.

### The official description

A vulnerability in the Border Gateway Protocol (BGP) implementation of Cisco NX-OS Software could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition due to the device unexpectedly reloading. The vulnerability is due to incomplete input validation of the BGP update messages. An attacker could exploit this vulnerability by sending a crafted BGP update message to the targeted device. An exploit could allow the attacker to cause the switch to reload unexpectedly. The Cisco implementation of the BGP protocol only accepts incoming BGP traffic from explicitly defined peers. To exploit this vulnerability, an attacker must be able to send the malicious packets over a TCP connection that appears to come from a trusted BGP peer or inject malformed messages into the victim's BGP network. This would require obtaining information about the BGP peers in the affected system's trusted network. The vulnerability may be triggered when the router receives a malformed BGP message from a peer on an existing BGP session. At least one BGP neighbor session must be established for a router to be vulnerable. This vulnerability affects Nexus 2000 Series Switches, Nexus 3000 Series Switches, Nexus 3500 Platform Switches, Nexus 3600 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 Fabric Switches in Application Centric Infrastructure (ACI) mode, Nexus 9000 Series Switches in standalone NX-OS mode, Nexus 9500 R-Series Line Cards and Fabric Modules. Cisco Bug IDs: CSCve79599, CSCve87784, CSCve91371, CSCve91387.

### What kind of flaw is it?

- CWE-20: Improper Input Validation

### How an attack on it works

- Where an attacker can be: Anywhere on the internet
- How hard it is to pull off: Easy: no special conditions
- Login needed first: No login needed
- Does someone have to click: No, nobody has to do anything
- What an attacker gets: Can take it offline

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

## Is CVE-2018-0295 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 2.5%. That can change at any time, which is why we keep watching.

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

### Timeline

- 20 June 2018: Published
- 9 October 2019: Record last updated

### How Precursor Intelligence ranks it

CVE-2018-0295 scores **47 out of 100 (Medium)**, with the action "Plan remediation".

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-2018-0295?

The published record lists 65 products. Versions are as published: "before 7.0(3)i3" means every version up to, but not including, 7.0(3)i3.

- [NX-OS](https://www.precursorintelligence.com/product/cisco/nx-os) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Operating system): before 7.0(3)i3, before 7.0(3)i4, 6.0 to before 7.3(3)n1(1), 6.2 to before 8.1(2)
- [Nexus 172tq-Xl](https://www.precursorintelligence.com/product/cisco/nexus_172tq-xl) 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 3048](https://www.precursorintelligence.com/product/cisco/nexus_3048) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3064-32t](https://www.precursorintelligence.com/product/cisco/nexus_3064-32t) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3064-T](https://www.precursorintelligence.com/product/cisco/nexus_3064-t) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3064-X](https://www.precursorintelligence.com/product/cisco/nexus_3064-x) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3100-V](https://www.precursorintelligence.com/product/cisco/nexus_3100-v) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 31128pq](https://www.precursorintelligence.com/product/cisco/nexus_31128pq) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3132c-Z](https://www.precursorintelligence.com/product/cisco/nexus_3132c-z) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3132q](https://www.precursorintelligence.com/product/cisco/nexus_3132q) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3132q-X](https://www.precursorintelligence.com/product/cisco/nexus_3132q-x) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3132q-Xl](https://www.precursorintelligence.com/product/cisco/nexus_3132q-xl) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3164q](https://www.precursorintelligence.com/product/cisco/nexus_3164q) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3172pq](https://www.precursorintelligence.com/product/cisco/nexus_3172pq) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3172pq-Xl](https://www.precursorintelligence.com/product/cisco/nexus_3172pq-xl) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3172tq](https://www.precursorintelligence.com/product/cisco/nexus_3172tq) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3172tq-32t](https://www.precursorintelligence.com/product/cisco/nexus_3172tq-32t) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3232c](https://www.precursorintelligence.com/product/cisco/nexus_3232c) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3264c-E](https://www.precursorintelligence.com/product/cisco/nexus_3264c-e) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3264q](https://www.precursorintelligence.com/product/cisco/nexus_3264q) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 34180yc](https://www.precursorintelligence.com/product/cisco/nexus_34180yc) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3524-X](https://www.precursorintelligence.com/product/cisco/nexus_3524-x) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3524-Xl](https://www.precursorintelligence.com/product/cisco/nexus_3524-xl) 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 3548-X](https://www.precursorintelligence.com/product/cisco/nexus_3548-x) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3548-Xl](https://www.precursorintelligence.com/product/cisco/nexus_3548-xl) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 3636c-R](https://www.precursorintelligence.com/product/cisco/nexus_3636c-r) 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 5020](https://www.precursorintelligence.com/product/cisco/nexus_5020) 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 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 6001p](https://www.precursorintelligence.com/product/cisco/nexus_6001p) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 6001t](https://www.precursorintelligence.com/product/cisco/nexus_6001t) 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 7700](https://www.precursorintelligence.com/product/cisco/nexus_7700) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 92160yc-X](https://www.precursorintelligence.com/product/cisco/nexus_92160yc-x) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 92304qc](https://www.precursorintelligence.com/product/cisco/nexus_92304qc) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 9236c](https://www.precursorintelligence.com/product/cisco/nexus_9236c) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 9272q](https://www.precursorintelligence.com/product/cisco/nexus_9272q) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 93108tc-EX](https://www.precursorintelligence.com/product/cisco/nexus_93108tc-ex) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 93120tx](https://www.precursorintelligence.com/product/cisco/nexus_93120tx) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 93128tx](https://www.precursorintelligence.com/product/cisco/nexus_93128tx) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 93180yc-EX](https://www.precursorintelligence.com/product/cisco/nexus_93180yc-ex) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 9332pq](https://www.precursorintelligence.com/product/cisco/nexus_9332pq) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 9372px](https://www.precursorintelligence.com/product/cisco/nexus_9372px) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 9372tx](https://www.precursorintelligence.com/product/cisco/nexus_9372tx) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 9396px](https://www.precursorintelligence.com/product/cisco/nexus_9396px) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 9396tx](https://www.precursorintelligence.com/product/cisco/nexus_9396tx) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 9500](https://www.precursorintelligence.com/product/cisco/nexus_9500) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 9504](https://www.precursorintelligence.com/product/cisco/nexus_9504) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 9508](https://www.precursorintelligence.com/product/cisco/nexus_9508) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus 9516](https://www.precursorintelligence.com/product/cisco/nexus_9516) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus C36180yc-R](https://www.precursorintelligence.com/product/cisco/nexus_c36180yc-r) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus N9k-C9508-Fm-R](https://www.precursorintelligence.com/product/cisco/nexus_n9k-c9508-fm-r) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus N9k-X9636c-R](https://www.precursorintelligence.com/product/cisco/nexus_n9k-x9636c-r) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified
- [Nexus N9k-X9636q-R](https://www.precursorintelligence.com/product/cisco/nexus_n9k-x9636q-r) by [Cisco](https://www.precursorintelligence.com/vendors/cisco) (Hardware): version not specified

## How do I fix CVE-2018-0295?

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-20180620-nxosbgp) (Vendor advisory)
- [securitytracker.com](http://www.securitytracker.com/id/1041169) (Third-party advisory, Vulnerability database)

## Questions

### What is CVE-2018-0295?

CVE-2018-0295 is a high-severity flaw in NX-OS from Cisco, published on 20 June 2018. It can be attacked from anywhere on the internet without logging in, and nobody has to click anything. If it works, the attacker can take it offline.

### How serious is CVE-2018-0295?

It scores 7.5 out of 10 on the CVSS severity scale, which is high. Our risk score for CVE-2018-0295 is 47 out of 100, which is Medium. Its action is "Plan remediation". No sign of exploitation and a low forecast. Patch it in your normal update cycle.

### Is CVE-2018-0295 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 2.5%. That can change at any time, which is why we keep watching.

### Which versions does CVE-2018-0295 affect?

For NX-OS from Cisco: before 7.0(3)i3, before 7.0(3)i4, 6.0 to before 7.3(3)n1(1), 6.2 to before 8.1(2). The record lists 65 products in all, each with its versions, under "Who is affected" on this page.

### How do I fix CVE-2018-0295?

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-2018-0295 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

