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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2021-1368

CVE-2021-1368: Cisco NX-OS UDLD RCE Vulnerability

CVE-2021-1368 is a remote code execution flaw in Cisco NX-OS Software's UDLD feature that allows adjacent attackers to execute arbitrary code or cause DoS. This post covers technical details, exploitation conditions, and mitigations.

Published: February 25, 2026

CVE-2021-1368 Overview

A vulnerability exists in the Unidirectional Link Detection (UDLD) feature of Cisco FXOS Software and Cisco NX-OS Software that could allow an unauthenticated, adjacent attacker to execute arbitrary code with administrative privileges or cause a denial of service (DoS) condition on affected devices. The vulnerability stems from insufficient input validation when processing UDLD protocol packets, enabling attackers with physical adjacency to send crafted packets that can crash the UDLD process or achieve code execution.

Critical Impact

Successful exploitation allows attackers to execute arbitrary code with administrative privileges on affected Cisco network infrastructure, potentially compromising entire data center switching fabrics and unified computing environments.

Affected Products

  • Cisco NX-OS Software (versions 7.x, 8.x, 9.x)
  • Cisco FXOS (Firepower Extensible Operating System)
  • Cisco Nexus 3000, 5000, 6000, 7000, and 9000 Series Switches
  • Cisco MDS 9000 Series Multilayer Switches
  • Cisco UCS 6200, 6300, and 6400 Series Fabric Interconnects
  • Cisco Firepower 4100 and 9300 Series Appliances

Discovery Timeline

  • 2021-02-24 - CVE-2021-1368 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-1368

Vulnerability Analysis

This vulnerability (CWE-787: Out-of-Bounds Write) exists in the UDLD protocol handler within Cisco FXOS and NX-OS software. The UDLD protocol is designed to detect unidirectional links on fiber optic and twisted-pair Ethernet cables, allowing network devices to identify when traffic flows in only one direction. When processing specially crafted UDLD protocol packets, the software fails to properly validate input boundaries before writing data to memory buffers.

The exploitation scenario requires several conditions to be met: the attacker must have full control of a directly connected device, that device must be connected over a port channel with UDLD enabled, and specific system conditions must exist for arbitrary code execution. While the UDLD feature is disabled by default, organizations that enable it for link integrity monitoring become potentially vulnerable.

Root Cause

The root cause is insufficient input validation in the UDLD packet processing code. When the UDLD daemon receives protocol packets on enabled interfaces, it processes various Type-Length-Value (TLV) fields without adequate bounds checking. This allows an attacker to supply malformed packet data that causes an out-of-bounds write condition, corrupting adjacent memory and potentially redirecting program execution flow.

Attack Vector

The attack requires the adversary to be on an adjacent network segment with a directly connected device under their control. The attacker must craft malicious UDLD protocol packets and transmit them over a port channel where UDLD is enabled. The exploitation path differs based on system state:

Code Execution Path: When both UDLD-enabled port channels and specific system memory conditions exist, the out-of-bounds write can be leveraged to overwrite critical process structures, allowing the attacker to inject and execute arbitrary code with administrative privileges.

DoS Path: In the absence of the required memory conditions, the malformed packets cause the UDLD process to crash and restart repeatedly. Multiple process crashes trigger device reloads, resulting in denial of service.

The attacker sends crafted UDLD frames containing malformed TLV structures that exceed expected buffer sizes, triggering the memory corruption condition when parsed by the vulnerable UDLD implementation.

Detection Methods for CVE-2021-1368

Indicators of Compromise

  • Unexpected UDLD process crashes or restarts logged in system messages
  • Repeated device reloads without apparent hardware cause
  • Anomalous UDLD protocol traffic patterns on port channel interfaces
  • System log entries indicating memory corruption or segmentation faults in UDLD daemon

Detection Strategies

  • Monitor for UDLD process crash events using syslog analysis: look for messages containing UDLD and crash-related keywords
  • Implement network traffic analysis to detect malformed UDLD frames with abnormal TLV structures
  • Enable enhanced logging on affected switches to capture UDLD protocol debugging information
  • Deploy network monitoring to baseline normal UDLD traffic and alert on anomalies

Monitoring Recommendations

  • Configure centralized syslog collection from all affected Cisco network devices
  • Establish baseline UDLD traffic patterns and alert on statistical deviations
  • Monitor for unauthorized physical connections to port channel interfaces
  • Review device stability metrics for unexpected reloads or process restarts

How to Mitigate CVE-2021-1368

Immediate Actions Required

  • Identify all Cisco FXOS and NX-OS devices in your environment running affected software versions
  • Audit UDLD configuration across the network using show udld commands to identify enabled interfaces
  • Evaluate operational need for UDLD and disable the feature where not strictly required
  • Implement network segmentation to limit adjacent network access to critical switches
  • Apply vendor patches according to the Cisco security advisory

Patch Information

Cisco has released software updates that address this vulnerability. Administrators should consult the Cisco Security Advisory for version-specific fixed release information. The advisory provides detailed guidance on determining affected versions and obtaining appropriate software updates for each product family (Nexus, MDS, UCS, and Firepower).

Workarounds

  • Disable UDLD on port channels where the feature is not operationally required using interface-level configuration
  • Implement physical security controls to prevent unauthorized device connections to port channel interfaces
  • Use access control lists where possible to restrict Layer 2 protocol traffic
  • Segment network management traffic from untrusted adjacent networks
bash
# Disable UDLD on specific interfaces (workaround)
configure terminal
interface port-channel 1
  no udld enable
exit
# Verify UDLD status
show udld interface

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechCisco Nx Os

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.27%

  • 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-787
  • Vendor Resources
  • Cisco Security Advisory
  • Related CVEs
  • CVE-2024-20399: Cisco NX-OS Software RCE Vulnerability

  • CVE-2020-10136: Cisco NX-OS Auth Bypass Vulnerability

  • CVE-2024-20291: Cisco NX-OS ACL Bypass Vulnerability

  • CVE-2024-20397: Cisco NX-OS Auth Bypass Vulnerability
Default Legacy - Prefooter | 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