# What is CVE-2018-0331?

> CVE-2018-0331 is a medium-severity flaw (CVSS 6.5) in NX-OS from Cisco, published on 21 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 0.6%. If you run an affected version, plan in the vendor’s fix.

Canonical page: https://www.edgeprotect.io/what-is/cve-2018-0331

## At a glance

- **Verdict:** Plan it in. No sign of exploitation and a low forecast. Patch it in your normal update cycle.
- **EdgeProtect risk score:** 21 out of 100 (Low); action: Monitor. Kept up to date as the evidence changes.
- **Severity:** Medium (CVSS 6.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:** 0.6% (latest exploit-likelihood forecast)
- **Published:** 21 June 2018
- **Record last updated:** 17 June 2026
- **Main product:** NX-OS from Cisco
- **Affected products:** 3

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

An attacker has to be on the same local network 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 Cisco Discovery Protocol (formerly known as CDP) subsystem of devices running, or based on, Cisco NX-OS Software contain a vulnerability that could allow an unauthenticated, adjacent attacker to create a denial of service (DoS) condition. The vulnerability is due to a failure to properly validate certain fields within a Cisco Discovery Protocol message prior to processing it. An attacker with the ability to submit a Cisco Discovery Protocol message designed to trigger the issue could cause a DoS condition on an affected device while the device restarts. This vulnerability affects Firepower 4100 Series Next-Generation Firewall, Firepower 9300 Security Appliance, MDS 9000 Series Multilayer Director Switches, Nexus 1000V Series Switches, Nexus 1100 Series Cloud Services Platforms, 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 Switches in NX-OS mode, Nexus 9500 R-Series Line Cards and Fabric Modules, UCS 6100 Series Fabric Interconnects, UCS 6200 Series Fabric Interconnects, UCS 6300 Series Fabric Interconnects. Cisco Bug IDs: CSCvc89242, CSCve40943, CSCve40953, CSCve40965, CSCve40970, CSCve40978, CSCve40992, CSCve41000, CSCve41007.

### What kind of flaw is it?

- CWE-20: Improper Input Validation

### How an attack on it works

- Where an attacker can be: On the same local network
- 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.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

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

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

### Timeline

- 21 June 2018: Published
- 17 June 2026: Record last updated

### How EdgeProtect ranks it

CVE-2018-0331 scores **21 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: key context
- Real threat activity around it: key context

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-0331?

The published record lists 3 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.edgeprotect.io/product/cisco/nx-os) by [Cisco](https://www.edgeprotect.io/vendors/cisco) (Operating system): before 7.0(3)i3, before 7.0(3)i7(1), before 2.2(8g), 2.5 to before 3.1(2f), 5.2 to before 8.1(1a), 8.0, 8.1 to before 8.1(2), 8.2 to before 8.2(1)
- [Firepower Extensible Operating System](https://www.edgeprotect.io/product/cisco/firepower_extensible_operating_system) by [Cisco](https://www.edgeprotect.io/vendors/cisco) (Operating system): 1.1 to before 2.0.1.153, 2.1.1 to before 2.1.1.86, 2.2.1 to before 2.2.1.70
- [Fxos](https://www.edgeprotect.io/product/cisco/fxos) by [Cisco](https://www.edgeprotect.io/vendors/cisco) (Operating system): 1.1 to before 2.0.1.152, 2.2.2 to before 2.2.2.14

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

1. **Check whether you run it.** Compare your versions with the affected products above. Not sure what you run? EdgeProtect 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-nxos-cdp) (Vendor advisory)
- [securitytracker.com](http://www.securitytracker.com/id/1041169) (Third-party advisory, Vulnerability database)

## Questions

### What is CVE-2018-0331?

CVE-2018-0331 is a medium-severity flaw in NX-OS from Cisco, published on 21 June 2018. An attacker has to be on the same local network without logging in, and nobody has to click anything. If it works, the attacker can take it offline.

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

It scores 6.5 out of 10 on the CVSS severity scale, which is medium. Our risk score for CVE-2018-0331 is 21 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-2018-0331 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.6%. That can change at any time, which is why we keep watching.

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

For NX-OS from Cisco: before 7.0(3)i3, before 7.0(3)i7(1), before 2.2(8g), 2.5 to before 3.1(2f), 5.2 to before 8.1(1a), 8.0 and 2 more. The record lists 3 products in all, each with its versions, under "Who is affected" on this page.

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

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-0331 affect you?

EdgeProtect 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.edgeprotect.io/register
Book a demo: https://www.edgeprotect.io/demo

