The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2020-3217

CVE-2020-3217: Cisco IOS onePK RCE Vulnerability

CVE-2020-3217 is a remote code execution flaw in Cisco IOS onePK Topology Discovery Service that enables attackers to execute code or trigger DoS. This article covers technical details, affected versions, and mitigations.

Published: March 4, 2026

CVE-2020-3217 Overview

A vulnerability in the Topology Discovery Service of Cisco One Platform Kit (onePK) in Cisco IOS Software, Cisco IOS XE Software, Cisco IOS XR Software, and Cisco NX-OS Software could allow an unauthenticated, adjacent attacker to execute arbitrary code or cause a denial of service (DoS) condition on an affected device. The vulnerability is due to insufficient length restrictions when the onePK Topology Discovery Service parses Cisco Discovery Protocol messages. An attacker could exploit this vulnerability by sending a malicious Cisco Discovery Protocol message to an affected device. An exploit could allow the attacker to cause a stack overflow, which could allow the attacker to execute arbitrary code with administrative privileges, or to cause a process crash, which could result in a reload of the device and cause a DoS condition.

Critical Impact

Successful exploitation allows unauthenticated adjacent attackers to achieve arbitrary code execution with administrative privileges or cause device reload, potentially disrupting critical network infrastructure.

Affected Products

  • Cisco IOS Software (multiple versions including 12.2, 15.x series)
  • Cisco IOS XE Software (versions 3.7.x through 16.12.x)
  • Cisco IOS XR Software (all versions)
  • Cisco NX-OS Software (versions 6.0, 6.1, 7.x, 8.x series)
  • Cisco Nexus 3000, 5000, 6000, and 7000 Series Switches

Discovery Timeline

  • June 3, 2020 - CVE-2020-3217 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-3217

Vulnerability Analysis

This vulnerability affects the Topology Discovery Service component within Cisco's One Platform Kit (onePK), a framework that enables programmatic access to Cisco network devices. The vulnerability stems from improper input validation when processing Cisco Discovery Protocol (CDP) messages, a Layer 2 protocol used for device discovery in Cisco environments.

The onePK Topology Discovery Service fails to properly enforce length restrictions when parsing incoming CDP messages. When a specially crafted CDP message containing excessive data is received, the service attempts to copy this data into a fixed-size stack buffer without adequate bounds checking. This results in a classic stack buffer overflow condition where attacker-controlled data overwrites adjacent stack memory, including return addresses and saved registers.

The exploitation requires Layer 2 adjacency, meaning an attacker must be on the same network segment as the target device or be able to inject frames at Layer 2. Once exploited, the attacker can achieve arbitrary code execution with administrative (root) privileges on the affected device, providing complete control over the network infrastructure. Alternatively, the overflow may cause the onePK process to crash, triggering a device reload and resulting in denial of service.

Root Cause

The root cause is insufficient input validation (CWE-20) in the onePK Topology Discovery Service when parsing Cisco Discovery Protocol messages. The service fails to validate the length of data fields within CDP packets before copying them into stack-allocated buffers. This allows an attacker to supply oversized data that exceeds the buffer boundaries, resulting in a stack overflow condition. The lack of proper bounds checking during the parsing operation creates a directly exploitable memory corruption vulnerability.

Attack Vector

The attack requires an adjacent network position (Layer 2 connectivity) to the target device. An attacker must be able to send Cisco Discovery Protocol frames to an interface where CDP is enabled and the onePK Topology Discovery Service is running. The attack can be executed without authentication since CDP operates at Layer 2 and the vulnerable service processes incoming messages without credential verification.

The attacker crafts a malicious CDP frame with manipulated length fields and payload data designed to overflow the stack buffer. When the vulnerable service processes this frame, the overflow corrupts stack memory. With careful construction of the payload, the attacker can overwrite the return address to redirect execution flow to attacker-controlled code, achieving remote code execution with full administrative privileges.

Detection Methods for CVE-2020-3217

Indicators of Compromise

  • Unexpected device reloads or crashes with core dumps referencing onePK or CDP processing functions
  • Abnormal CDP traffic patterns including malformed or oversized CDP frames on network segments
  • Unusual process behavior or memory consumption associated with onePK services
  • Syslog entries indicating CDP parsing errors or memory corruption events

Detection Strategies

  • Deploy network intrusion detection systems (IDS) with signatures for malformed CDP frames and anomalous Layer 2 traffic
  • Monitor device logs for unexpected crashes, core dumps, or process restarts related to onePK services
  • Implement CDP packet inspection at network boundaries where feasible to identify oversized or malformed messages
  • Enable device-level crash analysis and memory dump collection for forensic investigation

Monitoring Recommendations

  • Configure SNMP traps for device reload events and process crashes on affected Cisco devices
  • Establish baseline CDP traffic patterns and alert on significant deviations indicating potential exploitation attempts
  • Implement centralized logging for all Cisco infrastructure devices with real-time alerting on relevant error conditions
  • Monitor for unauthorized Layer 2 access or rogue devices that could serve as attack launch points

How to Mitigate CVE-2020-3217

Immediate Actions Required

  • Apply the appropriate security patches from Cisco immediately for all affected IOS, IOS XE, IOS XR, and NX-OS devices
  • Disable Cisco Discovery Protocol (CDP) on interfaces where it is not required for network operations
  • Disable the onePK feature if it is not actively used in your environment
  • Restrict Layer 2 network access through port security, 802.1X authentication, and network segmentation

Patch Information

Cisco has released software updates addressing this vulnerability. Administrators should consult the Cisco Security Advisory for the specific fixed software versions applicable to their deployment. The advisory provides detailed information on affected versions and corresponding patches for IOS, IOS XE, IOS XR, and NX-OS platforms.

Workarounds

  • Disable CDP globally or on specific interfaces where neighbor discovery is not required using the no cdp enable interface command or no cdp run global command
  • Disable the onePK feature if not in use with no onep or equivalent configuration commands
  • Implement strict Layer 2 access controls including port security, MAC address filtering, and 802.1X authentication to limit adjacent network access
  • Segment network infrastructure devices onto dedicated management VLANs with restricted access
bash
# Disable CDP globally on Cisco IOS/IOS XE devices
configure terminal
no cdp run
exit

# Alternatively, disable CDP on specific interfaces
configure terminal
interface GigabitEthernet0/0
 no cdp enable
exit

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechCisco Ios

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.24%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-20
  • Vendor Resources
  • Cisco Security Advisory
  • Related CVEs
  • CVE-2025-20363: Cisco IOS XR RCE Vulnerability

  • CVE-2023-20109: Cisco IOS GET VPN RCE Vulnerability

  • CVE-2025-20352: Cisco IOS XE SD-WAN RCE Vulnerability

  • CVE-2020-3205: Cisco IOS RCE Vulnerability via Inter-VM
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English