CVE-2020-3118
Description
A vulnerability in the Cisco Discovery Protocol implementation for Cisco IOS XR Software could allow an unauthenticated, adjacent attacker to execute arbitrary code or cause a reload on an affected device. The vulnerability is due to improper validation of string input from certain fields in Cisco Discovery Protocol messages. An attacker could exploit this vulnerability by sending a malicious Cisco Discovery Protocol packet to an affected device. A successful exploit could allow the attacker to cause a stack overflow, which could allow the attacker to execute arbitrary code with administrative privileges on an affected device. Cisco Discovery Protocol is a Layer 2 protocol. To exploit this vulnerability, an attacker must be in the same broadcast domain as the affected device (Layer 2 adjacent).
Weakness
- CWE-134: Use of Externally-Controlled Format String
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Cisco IOS XR Software Discovery Protocol Format String Vulnerability |
|---|---|
| Vendor / product | Cisco / IOS XR |
| Date added | 2021-11-03 |
| Federal remediation due date | 2022-05-03 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2024-11-08 |
Timeline
- 2020-02-05Published by the CNA17:40 UTC
- 2021-11-03Added to the CISA KEV catalog637 days after publication
- 2024-11-08CISA SSVC decision recorded1738 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| cisco ios_xr | from 6.6.0 before 6.6.12fixed in 6.6.12from 7.0.0 before 7.0.2fixed in 7.0.25.2.5no fix listed6.4.2no fix listed6.5.3no fix listed(+2 more) | 6.6.127.0.2not listednot listednot listed |
References
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20200205-iosxr-cdp-rce
- http://packetstormsecurity.com/files/156203/Cisco-Discovery-Protocol-CDP-Remote-Device-Takeover.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-3118
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2020-3118'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2020-3118'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2020-3118'curl 'https://api.contrastcyber.com/cve_products/CVE-2020-3118'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2020-3118'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).