# CVE-2013-1178: Memory corruption in n/a

> Remote attackers can execute arbitrary code on Cisco Nexus and UCS devices via malformed CDP packets due to buffer overflows.

- **Severity:** High 8.3 (`AV:A/AC:L/Au:N/C:C/I:C/A:C`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 25 Apr 2013
- **Updated:** 17 Sep 2024
- **Also known as:** GHSA-9xq7-8xm8-rcqx

## What is CVE-2013-1178?

CVE-2013-1178 is a high-severity memory corruption vulnerability in Cisco Nx-Os, published on 25 Apr 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Multiple buffer overflows in the Cisco Discovery Protocol (CDP) implementation in Cisco NX-OS on Nexus 7000 devices 4.x and 5.x before 5.2(4) and 6.x before 6.1(1), Nexus 5000 and 5500 devices 4.x and 5.x before 5.1(3)N1(1), Nexus 4000 devices before 4.1(2)E1(1h), Nexus 3000 devices 5.x before 5.0(3)U3(1), Nexus 1000V devices 4.x before 4.2(1)SV1(5.1), MDS 9000 devices 4.x and 5.x before 5.2(4), Unified Computing System (UCS) 6100 and 6200 devices before 2.0(2m), and Connected Grid Router (CGR) 1000 devices before CG4(1) allow remote attackers to execute arbitrary code via malformed CDP packets, aka Bug IDs CSCtu10630, CSCtu10551, CSCtu10550, CSCtw56581, CSCtu10548, CSCtu10544, and CSCuf61275.

Weakness: CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer)

## Which versions are affected by CVE-2013-1178?

It affects 27 products.


Products: Cisco Cg-Os, Cisco Connected Grid Router 1000, Cisco Mds 9000, Cisco Nexus 1000v, Cisco Nexus 3000, Cisco Nexus 3016q, Cisco Nexus 3048, Cisco Nexus 3064t, Cisco Nexus 3064x, Cisco Nexus 3548, Cisco Nexus 4001i, Cisco Nexus 5000, Cisco Nexus 5010, Cisco Nexus 5020, Cisco Nexus 5548p, Cisco Nexus 5548up, Cisco Nexus 5596up, Cisco Nexus 7000, Cisco Nexus 7000 10-Slot, Cisco Nexus 7000 18-Slot and 7 more.

## How do I fix CVE-2013-1178?

No fix has been published for CVE-2013-1178 yet. Limit exposure of the affected software until one is available.

## Is CVE-2013-1178 being exploited?

There is no known exploitation of CVE-2013-1178 in the wild and no public exploit code.

## Other vulnerabilities in Cisco Nx-Os

- [CVE-2014-3261](https://insights.sbomify.com/CVE-2014-3261/): Memory corruption in n/a (high 7.6)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2013-1178 and fix it if it is affected.

What it is: CVE-2013-1178 is a high-severity memory corruption vulnerability in Cisco Nx-Os, published on 25 Apr 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2013-1178 in the wild and no public exploit code.

Affected product: Cisco Nx-Os. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2013-1178/ (Markdown: https://insights.sbomify.com/CVE-2013-1178/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2013-1178
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2013-1178
- OSV: https://osv.dev/vulnerability/CVE-2013-1178

---
From sbomify Insights: https://insights.sbomify.com/CVE-2013-1178/
Summaries are generated and may contain mistakes; the official description above is the record.
