4.3
MEDIUM CVSS 3.1
CVE-2022-20846
Cisco Discovery Protocol Heap Buffer Overflow (Unauthenticated Adjacent Attack)
Description

A vulnerability in the Cisco Discovery Protocol implementation for Cisco IOS XR Software could allow an unauthenticated, adjacent attacker to cause the Cisco Discovery Protocol process to reload on an affected device. This vulnerability is due to a heap buffer overflow in certain 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 heap overflow, which could cause the Cisco Discovery Protocol process to reload on the device. The bytes that can be written in the buffer overflow are restricted, which limits remote code execution.Note: 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).  Cisco has released software updates that address this vulnerability. There are no workarounds that address this vulnerability.This advisory is part of the September 2022 release of the Cisco IOS XR Software Security Advisory Bundled Publication. For a complete list of the advisories and links to them, see .

INFO

Published Date :

Nov. 15, 2024, 4:15 p.m.

Last Modified :

Aug. 5, 2025, 2:07 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2022-20846 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Cisco ios_xr
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
This information is provided by the 3rd party feeds.
  • Upgrade to the relevant fixed version referenced in Cisco bug ID CSCwb23263
Public PoC/Exploit Available at Github

CVE-2022-20846 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-20846.

URL Resource
https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iosxr-bng-Gmg5Gxt Not Applicable
https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-ncs4k-tl1-GNnLwC6 Not Applicable
https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-xr-cdp-wnALzvT2 Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-20846 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

test 反向辣鸡数据投放 CVE-2022-23305 工具 利用 教程 Exploit POC

cve-2020-

Updated: 7 months, 2 weeks ago
5 stars 3 fork 3 watcher
Born at : Jan. 21, 2022, 5:07 a.m. This repo has been linked 2650 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-20846 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-20846 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Aug. 05, 2025

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:o:cisco:ios_xr:7.0.1:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.1.1:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.5.1:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.5.2:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.5.3:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.6.1:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.6.2:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.6.25:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.6.3:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.7.1:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.0.2:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.1.15:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.2.0:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.1.2:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.0.11:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.0.12:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.4.1:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.9.1:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.1.25:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.6.4:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.2.12:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.3.1:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.1.3:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.2.2:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.5.31:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.3.15:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.3.16:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.8.1:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.4.15:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.5.32:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.3.2:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.5.1:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.4.16:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.3.27:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.6.1:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.5.2:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.6.15:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.5.12:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.3.3:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.8.2:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.3.4:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.4.2:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.5.29:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.5.92:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.5.15:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.5.26:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.6.11:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.5.25:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.5.28:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.5.93:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.6.12:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.5.90:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.0.0:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.0.90:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.2.1:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.7.2:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:7.0.14:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.7.3:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.7.4:*:*:*:*:*:*:* *cpe:2.3:o:cisco:ios_xr:6.7.35:*:*:*:*:*:*:*
    Added Reference Type Cisco Systems, Inc.: https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iosxr-bng-Gmg5Gxt Types: Not Applicable
    Added Reference Type Cisco Systems, Inc.: https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-ncs4k-tl1-GNnLwC6 Types: Not Applicable
    Added Reference Type Cisco Systems, Inc.: https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-xr-cdp-wnALzvT2 Types: Vendor Advisory
  • CVE Modified by [email protected]

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iosxr-bng-Gmg5Gxt
    Added Reference https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-ncs4k-tl1-GNnLwC6
    Added Reference https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-xr-cdp-wnALzvT2
  • CVE Modified by [email protected]

    Nov. 15, 2024

    Action Type Old Value New Value
    Added Reference Cisco Systems, Inc. https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-xr-cdp-wnALzvT2 [No types assigned]
    Added Reference Cisco Systems, Inc. https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iosxr-bng-Gmg5Gxt [No types assigned]
    Added Reference Cisco Systems, Inc. https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-ncs4k-tl1-GNnLwC6 [No types assigned]
  • CVE Received by [email protected]

    Nov. 15, 2024

    Action Type Old Value New Value
    Added Description A vulnerability in the Cisco Discovery Protocol implementation for Cisco IOS XR Software could allow an unauthenticated, adjacent attacker to cause the Cisco Discovery Protocol process to reload on an affected device. This vulnerability is due to a heap buffer overflow in certain 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 heap overflow, which could cause the Cisco Discovery Protocol process to reload on the device. The bytes that can be written in the buffer overflow are restricted, which limits remote code execution.Note: 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).  Cisco has released software updates that address this vulnerability. There are no workarounds that address this vulnerability.This advisory is part of the September 2022 release of the Cisco IOS XR Software Security Advisory Bundled Publication. For a complete list of the advisories and links to them, see .
    Added Reference Cisco Systems, Inc. https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-xr-cdp-wnALzvT2 [No types assigned]
    Added Reference Cisco Systems, Inc. https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iosxr-bng-Gmg5Gxt [No types assigned]
    Added Reference Cisco Systems, Inc. https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-ncs4k-tl1-GNnLwC6 [No types assigned]
    Added CWE Cisco Systems, Inc. CWE-120
    Added CVSS V3.1 Cisco Systems, Inc. AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 4.3
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact