CVE-2020-3118: Cisco IOS XR Software Discovery Protocol Format String Vulnerability
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).
Other sources
Cisco IOS XR improperly validates string input from certain fields in Cisco Discovery Protocol messages. Exploitation could allow an unauthenticated, adjacent attacker to execute code with administrative privileges or cause a reload on an affected device.
— CISA
Affected Software
Event History
Frequently Asked Questions
What is CVE-2020-3118?
CVE-2020-3118 is a vulnerability in the Cisco Discovery Protocol implementation for Cisco IOS XR Software.
How does CVE-2020-3118 affect Cisco IOS XR Software?
CVE-2020-3118 could allow an unauthenticated, adjacent attacker to execute arbitrary code or cause a reload on an affected device.
Which versions of Cisco IOS XR Software are affected by CVE-2020-3118?
Versions between 6.6.0 to 6.6.12 and between 7.0.0 to 7.0.2 of Cisco IOS XR Software are affected by CVE-2020-3118.
What is the severity of CVE-2020-3118?
CVE-2020-3118 has a severity rating of 8.8 (high).
How can I fix CVE-2020-3118 in Cisco IOS XR Software?
To fix CVE-2020-3118, it is recommended to update to a fixed software version as mentioned in the Cisco Security Advisory.