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
    • 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-2023-34462

CVE-2023-34462: Netty SniHandler DoS Vulnerability

CVE-2023-34462 is a denial of service vulnerability in Netty's SniHandler that allows attackers to allocate excessive heap memory during TLS handshakes. This article covers technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2023-34462 Overview

CVE-2023-34462 is a resource exhaustion vulnerability in Netty, an asynchronous event-driven network application framework widely used for building high-performance protocol servers and clients. The vulnerability exists in the SniHandler class, which can allocate up to 16MB of heap memory for each channel during the TLS handshake process. When the handler or channel lacks an idle timeout, attackers can exploit this to cause memory exhaustion on TCP servers using the SniHandler.

The SniHandler class is designed to wait for the TLS handshake to configure an SslHandler according to the server name indicated by the ClientHello record. For this purpose, it allocates a ByteBuf using the value defined in the ClientHello record. Under normal circumstances, the packet size should be smaller than the handshake packet, but the code lacks proper validation checks, allowing attackers to craft malicious packets that trigger excessive memory allocation in the SslClientHelloHandler.

Critical Impact

Attackers can exhaust server memory by establishing multiple connections and triggering 16MB heap allocations per channel, leading to denial of service conditions on affected Netty-based applications.

Affected Products

  • Netty versions prior to 4.1.94.Final
  • Applications using Netty's SniHandler for TLS/SNI handling
  • TCP servers implementing SNI-based SSL context selection

Discovery Timeline

  • 2023-06-22 - CVE-2023-34462 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-34462

Vulnerability Analysis

The vulnerability stems from improper resource allocation within Netty's SNI (Server Name Indication) handling mechanism. The SniHandler and its parent class AbstractSniHandler are responsible for parsing TLS ClientHello messages to extract the server name and configure the appropriate SSL context. During this process, the handler allocates a ByteBuf based on length values provided in the ClientHello record without adequate validation.

The root issue is that an attacker can craft a malicious ClientHello packet specifying an excessively large length value, causing the handler to allocate up to 16MB of heap memory per connection. When combined with the absence of idle timeouts on connections, this allows attackers to establish numerous connections and exhaust server memory resources.

Root Cause

The vulnerability is classified under CWE-400 (Uncontrolled Resource Consumption) and CWE-770 (Allocation of Resources Without Limits or Throttling). The AbstractSniHandler class did not impose a maximum length restriction on the client hello message buffer allocation. The code path trusts the length field from the incoming ClientHello record without bounds checking, allowing attackers to specify arbitrary allocation sizes up to 16MB.

Attack Vector

The attack is network-based and requires low privileges to execute. An attacker can exploit this vulnerability by:

  1. Establishing a TCP connection to a Netty server using SniHandler
  2. Sending a crafted TLS ClientHello packet with a manipulated length field
  3. Triggering allocation of up to 16MB of heap memory on the server
  4. Repeating the process across multiple connections to exhaust available memory

This vulnerability is particularly dangerous for servers without connection idle timeouts, as malicious connections can persist indefinitely while holding allocated memory.

java
// Security patch in AbstractSniHandler.java
// Source: https://github.com/netty/netty/commit/535da17e45201ae4278c0479e6162bb4127d4c32

     private String hostname;
 
     /**
-     * @param handshakeTimeoutMillis the handshake timeout in milliseconds
+     * @param handshakeTimeoutMillis    the handshake timeout in milliseconds
      */
     protected AbstractSniHandler(long handshakeTimeoutMillis) {
+        this(0, handshakeTimeoutMillis);
+    }
+
+    /**
+     * @paramm maxClientHelloLength     the maximum length of the client hello message.
+     * @param handshakeTimeoutMillis    the handshake timeout in milliseconds
+     */
+    protected AbstractSniHandler(int maxClientHelloLength, long handshakeTimeoutMillis) {
+        super(maxClientHelloLength);
         this.handshakeTimeoutMillis = checkPositiveOrZero(handshakeTimeoutMillis, "handshakeTimeoutMillis");
     }
 
     public AbstractSniHandler() {
-        this(0L);
+        this(0, 0L);
     }
 
     @Override

The patch introduces a new maxClientHelloLength parameter that allows developers to limit the maximum size of the client hello message buffer, preventing excessive memory allocation.

Detection Methods for CVE-2023-34462

Indicators of Compromise

  • Unusual memory consumption patterns on Netty-based servers
  • High number of TLS connections in handshake state without completing
  • Heap memory exhaustion alerts or OutOfMemoryError exceptions in application logs
  • Spike in TCP connections targeting TLS-enabled endpoints

Detection Strategies

  • Monitor JVM heap usage for sudden spikes correlated with incoming TLS connections
  • Implement alerting for abnormal connection rates to SNI-enabled endpoints
  • Track the ratio of completed TLS handshakes versus initiated connections
  • Review application logs for SniHandler or SslClientHelloHandler related exceptions

Monitoring Recommendations

  • Deploy application performance monitoring (APM) to track memory allocation patterns
  • Configure connection rate limiting at the network layer for TLS endpoints
  • Set up alerts for memory usage thresholds on servers running Netty applications
  • Monitor connection idle times and flag connections lingering in handshake state

How to Mitigate CVE-2023-34462

Immediate Actions Required

  • Upgrade Netty to version 4.1.94.Final or later immediately
  • Implement connection idle timeouts on all SniHandler configurations
  • Apply network-level rate limiting for TLS connection establishment
  • Review and harden firewall rules for publicly exposed Netty services

Patch Information

The vulnerability has been fixed in Netty version 4.1.94.Final. The patch introduces a maxClientHelloLength parameter in the SniHandler and AbstractSniHandler constructors, allowing developers to limit the buffer allocation size during TLS handshake processing.

For detailed patch information, refer to the GitHub Security Advisory and the commit fix.

Additional advisories have been published by NetApp and Debian for downstream products.

Workarounds

  • Configure handshake timeouts on SniHandler instances to limit connection duration
  • Implement connection idle timeout handlers to close stale connections
  • Use resource quotas and memory limits for Netty worker threads
  • Deploy connection rate limiting at load balancer or firewall level
java
// Configuration example - Use SniHandler with timeout protection
SniHandler sniHandler = new SniHandler(
    mapping,
    16384,  // maxClientHelloLength - limit buffer allocation
    10000L  // handshakeTimeoutMillis - 10 second timeout
);

// Add idle state handler for additional protection
pipeline.addLast(new IdleStateHandler(30, 0, 0, TimeUnit.SECONDS));
pipeline.addLast(sniHandler);

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechNetty

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability1.00%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-400

  • CWE-770
  • Technical References
  • NetApp Advisory NTAP-20230803-0001

  • NetApp Advisory NTAP-20240621-0007

  • Debian Security Advisory DSA-5558
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-33871: Netty HTTP/2 DoS Vulnerability

  • CVE-2025-55163: Netty HTTP/2 MadeYouReset DoS Vulnerability

  • CVE-2024-29025: Netty HttpPostRequestDecoder DoS Flaw

  • CVE-2025-58057: Netty BrotliDecoder DoS 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