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

CVE-2021-43797: Netty HTTP Request Smuggling Vulnerability

CVE-2021-43797 is an HTTP request smuggling flaw in Netty that allows control characters in header names to bypass validation. This post covers the technical details, affected versions, security impact, and mitigation.

Published: February 25, 2026

CVE-2021-43797 Overview

CVE-2021-43797 is an HTTP Request Smuggling vulnerability affecting Netty, an asynchronous event-driven network application framework widely used for building high-performance protocol servers and clients. The vulnerability exists in Netty versions prior to 4.1.71.Final, where the framework incorrectly handles control characters at the beginning or end of HTTP header names.

Instead of rejecting malformed headers containing control characters as required by the HTTP specification, Netty silently skips these characters and "sanitizes" the header names. When Netty is deployed as a proxy, this behavior allows attackers to craft malicious HTTP requests that bypass security controls on downstream systems.

Critical Impact

Attackers can exploit this vulnerability to perform HTTP request smuggling attacks, potentially bypassing authentication, gaining unauthorized access to protected resources, or poisoning web caches when Netty operates as a proxy server.

Affected Products

  • Netty versions prior to 4.1.71.Final
  • Quarkus (all versions using vulnerable Netty)
  • NetApp OnCommand Workflow Automation
  • NetApp SnapCenter
  • Oracle Banking Deposits and Lines of Credit Servicing 2.7
  • Oracle Banking Party Management 2.7.0
  • Oracle Banking Platform 2.6.2
  • Oracle Coherence 12.2.1.4.0 and 14.1.1.0.0
  • Oracle Communications Cloud Native Core (multiple products)
  • Oracle Helidon 1.4.10 and 2.4.0
  • Oracle PeopleSoft Enterprise PeopleTools 8.58 and 8.59
  • Debian Linux 10.0 and 11.0

Discovery Timeline

  • 2021-12-09 - CVE-2021-43797 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-43797

Vulnerability Analysis

The vulnerability stems from improper input validation in Netty's HTTP header parsing logic. According to RFC 7230, HTTP header names must not contain control characters (characters with ASCII values 0x00-0x1F and 0x7F). However, vulnerable versions of Netty fail to enforce this requirement properly.

When processing HTTP requests, Netty's DefaultHttpHeaders and HttpObjectDecoder classes skip over control characters at the beginning and end of header names rather than rejecting the malformed request outright. This permissive parsing creates a security gap when Netty is deployed in a proxy configuration.

The attack scenario occurs when an attacker sends a crafted HTTP request with control characters embedded in header names. Netty strips these characters and forwards a "cleaned" request to the backend server. Since the backend server only sees the sanitized request, it processes headers differently than Netty interpreted them, enabling request smuggling attacks.

Root Cause

The root cause is insufficient validation in the validateHeaderNameElement method within DefaultHttpHeaders.java. The original implementation failed to reject control characters in the range 0x1c through 0x1f, as well as other forbidden characters at header name boundaries. The HttpObjectDecoder also improperly used findNonWhitespace with a flag that allowed control characters to be silently skipped rather than treated as validation failures.

Attack Vector

This vulnerability is exploitable over the network without authentication. An attacker can craft HTTP requests with strategically placed control characters in header names. When these requests pass through a Netty-based proxy, the control characters are stripped, potentially allowing the attacker to:

  1. Smuggle additional HTTP requests hidden within a single connection
  2. Bypass front-end security controls that rely on header inspection
  3. Poison web caches with malicious content
  4. Access resources that should be protected by proxy-level authentication

The security patch adds explicit validation for control characters 0x1c, 0x1d, 0x1e, and 0x1f:

java
    private static void validateHeaderNameElement(byte value) {
        switch (value) {
+        case 0x1c:
+        case 0x1d:
+        case 0x1e:
+        case 0x1f:
        case 0x00:
        case '\t':
        case '\n':

Source: GitHub Commit Update

The decoder was also updated to properly handle whitespace detection:

java
        int valueStart;
        int valueEnd;

-        nameStart = findNonWhitespace(sb, 0, false);
+        nameStart = findNonWhitespace(sb, 0);
        for (nameEnd = nameStart; nameEnd < length; nameEnd ++) {
            char ch = sb.charAtUnsafe(nameEnd);
            // https://tools.ietf.org/html/rfc7230#section-3.2.4

Source: GitHub Commit Update

Detection Methods for CVE-2021-43797

Indicators of Compromise

  • HTTP requests containing control characters (ASCII 0x00-0x1F) in header names
  • Discrepancies between frontend proxy logs and backend server logs for the same request
  • Unusual HTTP request patterns with malformed or unexpected header structures
  • Cache poisoning incidents affecting applications behind Netty proxies

Detection Strategies

  • Deploy web application firewalls (WAF) with rules to detect control characters in HTTP header names
  • Implement deep packet inspection to identify HTTP requests with non-printable characters in headers
  • Enable verbose logging on Netty instances to capture raw request data before sanitization
  • Use SentinelOne Singularity to monitor for anomalous network traffic patterns indicative of request smuggling attempts

Monitoring Recommendations

  • Monitor for sudden increases in HTTP 400 errors after patching, which may indicate blocked attack attempts
  • Review access logs for requests that bypass expected authentication or authorization patterns
  • Implement alerting for cache inconsistencies that could indicate successful cache poisoning
  • Track dependency versions across your software inventory to identify vulnerable Netty installations

How to Mitigate CVE-2021-43797

Immediate Actions Required

  • Upgrade Netty to version 4.1.71.Final or later immediately
  • Audit all applications using Netty as a dependency, including transitive dependencies through frameworks like Quarkus
  • Review proxy configurations to ensure Netty is not exposed to untrusted traffic until patched
  • Apply vendor-specific patches for affected Oracle, NetApp, and Debian products

Patch Information

The vulnerability is fixed in Netty version 4.1.71.Final. The patch commit 07aa6b5938a8b6ed7a6586e066400e2643897323 adds proper validation for control characters in HTTP header names, causing the parser to fail fast when invalid characters are detected rather than silently sanitizing them.

For detailed patch information, refer to the GitHub Security Advisory. Oracle customers should consult the Oracle CPU April 2022 Alert and Oracle CPU July 2022 Alert for product-specific guidance.

Workarounds

  • Deploy a reverse proxy or WAF in front of Netty that validates HTTP headers according to RFC 7230 before forwarding requests
  • Implement custom input validation at the application layer to reject requests with control characters in header names
  • If upgrading is not immediately possible, restrict network access to Netty-based services to trusted sources only
  • Consider disabling proxy functionality in Netty applications until the patch can be applied
bash
# Check Netty version in Maven projects
mvn dependency:tree | grep netty

# Check Netty version in Gradle projects
gradle dependencies | grep netty

# Update to patched version in Maven pom.xml
# <dependency>
#     <groupId>io.netty</groupId>
#     <artifactId>netty-all</artifactId>
#     <version>4.1.71.Final</version>
# </dependency>

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechNetty

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.38%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-444
  • Technical References
  • GitHub Security Advisory

  • Debian LTS Announcement

  • NetApp Security Advisory

  • Debian Security Update
  • Vendor Resources
  • GitHub Commit Update

  • Oracle CPU April 2022 Alert

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

  • CVE-2026-33871: Netty HTTP/2 DoS Vulnerability

  • CVE-2025-67735: Netty CRLF Injection Vulnerability

  • CVE-2025-55163: Netty HTTP/2 MadeYouReset 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