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-2021-21409

CVE-2021-21409: Netty HTTP/2 Request Smuggling Vulnerability

CVE-2021-21409 is a request smuggling vulnerability in Netty's HTTP/2 codec that occurs when content-length headers are improperly validated. This article covers the technical details, affected versions, and mitigation steps.

Published: February 25, 2026

CVE-2021-21409 Overview

CVE-2021-21409 is an HTTP Request Smuggling vulnerability in Netty, an open-source, asynchronous event-driven network application framework used for developing high-performance protocol servers and clients. The vulnerability exists in the io.netty:netty-codec-http2 component where the content-length header is not correctly validated when a request uses a single Http2HeaderFrame with the endStream flag set to true.

This flaw can lead to request smuggling attacks when the HTTP/2 request is proxied to a remote peer and translated to HTTP/1.1. The vulnerability is a follow-up to GHSA-wm47-8v5p-wjpj/CVE-2021-21295, which missed addressing this specific edge case.

Critical Impact

Attackers can bypass security controls, poison web caches, and hijack user sessions by exploiting inconsistent request interpretation between front-end and back-end servers in proxy configurations.

Affected Products

  • Netty versions prior to 4.1.61.Final
  • Debian Linux 10.0
  • NetApp OnCommand API Services
  • NetApp OnCommand Workflow Automation
  • Oracle Banking Corporate Lending Process Management (14.2.0, 14.3.0, 14.5.0)
  • Oracle Banking Credit Facilities Process Management (14.2.0, 14.3.0, 14.5.0)
  • Oracle Banking Trade Finance Process Management (14.2.0, 14.3.0, 14.5.0)
  • Oracle Coherence (12.2.1.4.0, 14.1.1.0.0)
  • Oracle Communications BRM - Elastic Charging Engine (12.0.0.3)
  • Oracle Communications Cloud Native Core Console (1.7.0)
  • Oracle Communications Cloud Native Core Policy (1.14.0)
  • Oracle Communications Design Studio (7.4.2.0.0)
  • Oracle Communications Messaging Server (8.1)
  • Oracle Helidon (1.4.10, 2.4.0)
  • Oracle JD Edwards EnterpriseOne Tools
  • Oracle NoSQL Database
  • Oracle Primavera Gateway
  • Quarkus

Discovery Timeline

  • March 30, 2021 - CVE-2021-21409 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-21409

Vulnerability Analysis

This HTTP Request Smuggling vulnerability (CWE-444) occurs due to improper validation of the content-length header in HTTP/2 requests processed by Netty's codec. When an HTTP/2 request consists of a single Http2HeaderFrame with endStream set to true, the framework fails to properly validate that the content-length header accurately represents the request body size.

Request smuggling attacks exploit inconsistencies in how different servers parse and interpret HTTP requests. In this case, when a vulnerable Netty-based proxy translates an HTTP/2 request to HTTP/1.1 for a backend server, the discrepancy in content-length handling can allow an attacker to craft ambiguous requests. These requests may be interpreted differently by the front-end proxy and the back-end server, enabling the attacker to "smuggle" a second request within the first.

The vulnerability's impact includes the ability to bypass security controls, hijack user sessions, poison web caches, and perform unauthorized actions by manipulating request boundaries. This is particularly dangerous in environments where Netty serves as an HTTP/2-to-HTTP/1.1 proxy or gateway.

Root Cause

The root cause lies in the DefaultHttp2ConnectionDecoder.java file within the netty-codec-http2 module. The decoder did not properly track whether headers had already been received for a stream when processing HEADERS frames. This allowed attackers to manipulate the content-length validation logic by using a specific frame configuration.

The original fix for CVE-2021-21295 addressed similar content-length validation issues but missed the edge case where requests use only a single Http2HeaderFrame with endStream set to true. This oversight allowed the request smuggling vector to remain exploitable.

Attack Vector

The attack requires network access to a vulnerable Netty-based application acting as an HTTP/2 proxy. An attacker crafts a malicious HTTP/2 request with a manipulated content-length header and specific frame structure. When this request is proxied and translated to HTTP/1.1, the inconsistent interpretation between the front-end and back-end servers allows a second, smuggled request to be processed.

The attack can be executed without authentication or user interaction, though it requires specific network conditions where the vulnerable Netty instance proxies requests to a backend HTTP/1.1 server.

java
                 short weight, boolean exclusive, int padding, boolean endOfStream) throws Http2Exception {
             Http2Stream stream = connection.stream(streamId);
             boolean allowHalfClosedRemote = false;
+            boolean isTrailers = false;
             if (stream == null && !connection.streamMayHaveExisted(streamId)) {
                 stream = connection.remote().createStream(streamId, endOfStream);
                 // Allow the state to be HALF_CLOSE_REMOTE if we're creating it in that state.
                 allowHalfClosedRemote = stream.state() == HALF_CLOSED_REMOTE;
+            } else if (stream != null) {
+                isTrailers = stream.isHeadersReceived();
             }

             if (shouldIgnoreHeadersOrDataFrame(ctx, streamId, stream, "HEADERS")) {

Source: GitHub Netty Commit

The patch introduces an isTrailers boolean variable that tracks whether headers have already been received for a stream by calling stream.isHeadersReceived(). This additional state tracking ensures proper validation of content-length headers in all request scenarios.

Detection Methods for CVE-2021-21409

Indicators of Compromise

  • Unusual discrepancies between front-end access logs and back-end access logs indicating request boundary manipulation
  • HTTP responses being served to incorrect clients or containing unexpected cached content
  • Unexpected backend server behavior where single client connections appear to generate multiple unrelated requests
  • Log entries showing malformed or duplicated HTTP headers in translated HTTP/1.1 requests

Detection Strategies

  • Monitor HTTP/2-to-HTTP/1.1 proxy conversion points for anomalous content-length header values that don't match actual body sizes
  • Implement deep packet inspection rules to detect HTTP request smuggling patterns in translated requests
  • Audit application dependencies using software composition analysis tools to identify vulnerable Netty versions (io.netty:netty-codec-http2 prior to 4.1.61.Final)
  • Deploy web application firewalls configured to detect and block request smuggling attack signatures

Monitoring Recommendations

  • Enable detailed logging on HTTP/2 proxies to capture frame-level information including endStream flags and header contents
  • Implement real-time alerting for cache poisoning indicators such as unexpected cache hit/miss ratios
  • Monitor for session anomalies where authenticated sessions appear to receive responses intended for other users
  • Track Netty library version usage across all deployed applications and containerized workloads

How to Mitigate CVE-2021-21409

Immediate Actions Required

  • Upgrade Netty to version 4.1.61.Final or later across all affected applications
  • Audit all Java applications using Maven or Gradle to identify transitive dependencies on vulnerable io.netty:netty-codec-http2 versions
  • Review Oracle, NetApp, and Debian security advisories for specific patch guidance for affected downstream products
  • Temporarily disable HTTP/2-to-HTTP/1.1 proxy functionality if immediate patching is not possible

Patch Information

The vulnerability was fixed in Netty version 4.1.61.Final. The fix is available in the official GitHub commit.

For downstream products, consult the following vendor advisories:

  • Oracle CPU July 2021
  • Oracle CPU October 2021
  • Oracle CPU January 2022
  • Oracle CPU April 2022
  • Debian Security Advisory DSA-4885
  • NetApp Security Advisory ntap-20210604-0003

Workarounds

  • Configure web application firewalls to normalize and validate content-length headers on all HTTP/2 traffic before proxy translation
  • Implement strict request validation at backend servers to reject requests with mismatched content-length and body sizes
  • Use end-to-end HTTP/2 where possible to avoid HTTP/1.1 translation vulnerabilities
  • Deploy network segmentation to limit exposure of vulnerable proxy components
bash
# Maven dependency update example
# Update pom.xml to use patched Netty version
mvn versions:use-latest-versions -Dincludes=io.netty:netty-codec-http2

# Gradle dependency update
# In build.gradle, enforce minimum version:
# implementation 'io.netty:netty-codec-http2:4.1.61.Final'

# Verify Netty version in dependencies
mvn dependency:tree | grep netty

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechNetty

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability3.16%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-444
  • Technical References
  • CVE-2021-21295 Details

  • GitHub Security Advisory GHSA-f256

  • GitHub Security Advisory GHSA-wm47

  • Apache Flink Issue Thread

  • Apache Zookeeper Issue Thread

  • Apache Zookeeper Notification Thread

  • Apache Zookeeper Issue Thread

  • Apache Zookeeper Issue Thread

  • Apache Zookeeper Issue Thread

  • Apache Zookeeper Commit Thread

  • Apache Zookeeper Issue Thread

  • Apache Kudu Issue Thread

  • Apache Pulsar Commit Thread

  • Apache Flink Issue Thread

  • Apache Zookeeper Notification Thread

  • Apache Zookeeper Issue Thread

  • Apache Flink Issue Thread

  • Apache Pulsar Commit Thread

  • Apache Zookeeper Commit Thread

  • Apache Zookeeper Issue Thread

  • Apache Zookeeper Dev Thread

  • Apache Pulsar Commit Thread

  • Apache Zookeeper Issue Thread

  • Apache Zookeeper Issue Thread

  • Apache Flink Issue Thread

  • Apache Zookeeper Issue Thread

  • Apache Zookeeper Issue Thread

  • Apache Zookeeper Issue Thread

  • Apache Zookeeper Issue Thread

  • Apache Zookeeper Issue Thread

  • Apache Zookeeper Issue Thread

  • Apache Zookeeper Issue Thread

  • Apache Kudu Issue Thread

  • Apache Kudu Issue Thread

  • Apache Zookeeper Issue Thread

  • Apache Zookeeper Issue Thread

  • Apache Zookeeper Issue Thread

  • Apache Flink Issue Thread

  • Apache Zookeeper Commit Thread

  • Apache Zookeeper Commit Thread

  • Apache Zookeeper Notification Thread

  • Apache Zookeeper Issue Thread

  • Apache Zookeeper Notification Thread

  • Apache Flink Issue Thread

  • Apache Zookeeper Dev Thread

  • Apache Zookeeper Notification Thread

  • Apache Zookeeper Notification Thread

  • Apache Zookeeper Notification Thread

  • Apache Zookeeper Notification Thread

  • Apache Zookeeper Issue Thread

  • Apache Zookeeper Issue Thread

  • Apache Kudu Issue Thread

  • NetApp Security Advisory ntap-20210604-0003

  • Debian Security Advisory DSA-4885
  • Vendor Resources
  • GitHub Netty Commit

  • Oracle CPU July 2021 Alert

  • Oracle CPU April 2022 Alert

  • Oracle CPU January 2022 Alert

  • Oracle CPU October 2021 Alert
  • Related CVEs
  • CVE-2026-33870: Netty HTTP Request Smuggling Vulnerability

  • CVE-2025-58056: Netty Request Smuggling Vulnerability

  • CVE-2022-41915: Netty HTTP Response Splitting Vulnerability

  • CVE-2021-21295: Netty HTTP/2 Request Smuggling Flaw
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