Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-45608

CVE-2021-45608: Netgear D7800 Firmware RCE Vulnerability

CVE-2021-45608 is a remote code execution vulnerability in Netgear D7800 Firmware caused by an integer overflow in the KCodes NetUSB kernel module. This article covers technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2021-45608 Overview

CVE-2021-45608 is a critical integer overflow vulnerability affecting the KCodes NetUSB kernel module used in multiple router devices from D-Link, Edimax, NETGEAR, TP-Link, Tenda, and Western Digital. The vulnerability exists in the SoftwareBus_dispatchNormalEPMsgOut function and can be exploited by an unauthenticated attacker via the WAN interface on TCP port 20005. While remote code execution cannot be ruled out, the exploitation was assessed to be of "rather significant complexity" but not "impossible."

Critical Impact

This integer overflow vulnerability in the KCodes NetUSB kernel module potentially affects millions of end-user routers, allowing unauthenticated attackers to remotely target devices via the WAN interface, potentially leading to complete device compromise.

Affected Products

  • NETGEAR D7800 firmware before version 1.0.1.68
  • NETGEAR R6400v2 firmware before version 1.0.4.122
  • NETGEAR R6700v3 firmware before version 1.0.4.122

Discovery Timeline

  • 2021-12-26 - CVE-2021-45608 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-45608

Vulnerability Analysis

The vulnerability resides in the KCodes NetUSB kernel module, a third-party component widely deployed across consumer routers from multiple vendors. NetUSB provides functionality for sharing USB devices over a network connection. The integer overflow occurs within the SoftwareBus_dispatchNormalEPMsgOut function when processing specially crafted network packets.

The vulnerability is accessible from the WAN interface via TCP port 20005, which significantly increases the attack surface as it exposes affected devices to attacks originating from the internet. The flaw allows an unauthenticated attacker to trigger the integer overflow condition, which could potentially lead to a buffer overflow and subsequent memory corruption.

Root Cause

The root cause is an integer overflow vulnerability (CWE-190) in the SoftwareBus_dispatchNormalEPMsgOut function within the KCodes NetUSB kernel module. When processing input data, the function fails to properly validate size calculations, allowing an attacker to provide values that cause an integer wrap-around. This results in an undersized buffer allocation followed by an out-of-bounds write when the actual data is copied.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can target the vulnerability by:

  1. Sending crafted TCP packets to port 20005 on the WAN interface of an affected device
  2. Triggering the integer overflow in the SoftwareBus_dispatchNormalEPMsgOut function
  3. Exploiting the resulting memory corruption to potentially achieve code execution

While the vulnerability is remotely accessible, researchers noted that successful exploitation requires overcoming "rather significant complexity," though it is not considered impossible. The kernel-level nature of the vulnerability means successful exploitation could result in complete device compromise with the highest privileges.

The vulnerability mechanism involves crafted network traffic that exploits improper size validation in the NetUSB kernel module. For detailed technical analysis, refer to the SentinelOne CVE-2021-45608 Analysis.

Detection Methods for CVE-2021-45608

Indicators of Compromise

  • Unexpected network connections to TCP port 20005 from external IP addresses
  • Unusual kernel crashes or router reboots indicating potential exploitation attempts
  • Anomalous outbound traffic from the router suggesting post-exploitation activity
  • Unexpected modifications to router configuration or firmware

Detection Strategies

  • Monitor network traffic for suspicious connections to TCP port 20005, particularly from untrusted sources
  • Implement intrusion detection rules to identify malformed NetUSB protocol traffic
  • Deploy network segmentation to isolate IoT devices and routers from critical network segments
  • Review router logs for authentication failures or unusual administrative activity

Monitoring Recommendations

  • Enable logging on edge firewalls to capture connection attempts to port 20005
  • Implement network flow analysis to detect anomalous traffic patterns to router devices
  • Configure alerts for any WAN-side access attempts to management or service ports
  • Regularly audit firmware versions across all network devices to identify vulnerable systems

How to Mitigate CVE-2021-45608

Immediate Actions Required

  • Update affected NETGEAR devices to the latest firmware immediately
  • Block inbound connections to TCP port 20005 on the WAN interface using firewall rules
  • Disable remote management features if not required
  • Consider replacing end-of-life devices that will not receive security updates

Patch Information

NETGEAR has released firmware updates to address this vulnerability. Update to the following minimum versions:

  • NETGEAR D7800: Firmware version 1.0.1.68 or later
  • NETGEAR R6400v2: Firmware version 1.0.4.122 or later
  • NETGEAR R6700v3: Firmware version 1.0.4.122 or later

For detailed patch information and download links, refer to the Netgear Security Advisory PSV-2021-0278.

Workarounds

  • Block TCP port 20005 on the WAN interface using router ACLs or upstream firewall
  • Disable NetUSB/USB over network functionality if not required for your use case
  • Place affected devices behind an additional firewall that blocks external access to service ports
  • Consider network segmentation to limit the impact of potential compromise
bash
# Example firewall rule to block external access to NetUSB port
# (Implementation varies by device - consult your router documentation)
iptables -A INPUT -i eth0 -p tcp --dport 20005 -j DROP

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechNetgear

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability5.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-190
  • Vendor Resources
  • Netgear Security Advisory PSV-2021-0278

  • SentinelOne CVE-2021-45608 Analysis
  • Related CVEs
  • CVE-2022-40620: NETGEAR FunJSQ Module RCE Vulnerability

  • CVE-2022-40619: NETGEAR FunJSQ Command Injection RCE Flaw

  • CVE-2026-0406: NETGEAR XR1000v2 RCE Vulnerability

  • CVE-2026-0403: NETGEAR Orbi Router RCE 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