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-43980

CVE-2021-43980: Apache Tomcat Race Condition Vulnerability

CVE-2021-43980 is a race condition vulnerability in Apache Tomcat that causes client connections to share processor instances, sending responses to wrong clients. This article covers technical details, affected versions, impact, and mitigation.

Published: February 25, 2026

CVE-2021-43980 Overview

A race condition vulnerability exists in Apache Tomcat's simplified implementation of blocking reads and writes that was introduced in Tomcat 10 and back-ported to Tomcat 9.0.47. This long-standing concurrency bug, while extremely hard to trigger, can cause client connections to share an Http11Processor instance, resulting in HTTP responses or partial responses being delivered to the wrong client.

Critical Impact

Sensitive information disclosure where HTTP responses intended for one client may be inadvertently delivered to a different client due to improper thread synchronization in the Http11Processor.

Affected Products

  • Apache Tomcat 10.1.0-M1 to 10.1.0-M12
  • Apache Tomcat 10.0.0-M1 to 10.0.18
  • Apache Tomcat 9.0.0-M1 to 9.0.60
  • Apache Tomcat 8.5.0 to 8.5.77
  • Debian Linux 10.0 and 11.0

Discovery Timeline

  • 2022-09-28 - CVE CVE-2021-43980 published to NVD
  • 2025-05-21 - Last updated in NVD database

Technical Details for CVE-2021-43980

Vulnerability Analysis

This vulnerability is classified as CWE-362 (Race Condition), occurring within Apache Tomcat's HTTP connection handling mechanism. The flaw exists in the simplified blocking I/O implementation that was introduced to improve performance in Tomcat 10 and subsequently back-ported to earlier versions.

Under specific high-concurrency conditions, the Http11Processor instance—which handles HTTP/1.1 protocol processing for individual client connections—can be incorrectly shared between multiple client connections. This processor sharing violates the expected one-to-one relationship between processors and connections, leading to response data being sent to unintended recipients.

The race condition is characterized by its difficulty to exploit, requiring precise timing conditions that are unlikely to occur during normal server operation. However, in high-traffic environments or under adversarial conditions designed to maximize thread contention, the probability of triggering this bug increases.

Root Cause

The root cause lies in improper synchronization within the blocking I/O read and write operations introduced in the affected Tomcat versions. When the simplified blocking implementation was added, it inadvertently exposed a pre-existing concurrency bug in the connection processor allocation logic.

Specifically, the Http11Processor recycling mechanism fails to properly ensure thread-safe transitions between connection states, allowing a race condition where one thread may begin using a processor before another thread has fully released it. This results in the processor being associated with multiple connections simultaneously.

Attack Vector

The attack vector is network-based, requiring no authentication or user interaction. An attacker would need to:

  1. Send a high volume of concurrent HTTP requests to the target Tomcat server
  2. Attempt to create timing conditions that trigger the race condition in processor allocation
  3. Monitor responses for data intended for other clients

While the exploitation is non-deterministic and extremely difficult to reliably reproduce, the potential for information disclosure makes this a concern for environments processing sensitive data. The vulnerability requires network access to the Tomcat server but no special privileges or credentials.

Detection Methods for CVE-2021-43980

Indicators of Compromise

  • Unexpected HTTP response content that doesn't match the client's request context
  • User reports of receiving data or partial responses belonging to other sessions
  • Anomalous patterns in access logs showing response size mismatches or unusual status codes
  • Memory profiling showing unexpected Http11Processor instance sharing across threads

Detection Strategies

  • Implement response integrity monitoring to detect when response content doesn't correlate with request patterns
  • Deploy application-layer monitoring to identify sessions receiving unexpected data types or formats
  • Enable verbose Tomcat connector logging to capture processor allocation and recycling events
  • Use thread dump analysis during high-load periods to identify concurrent processor access patterns

Monitoring Recommendations

  • Monitor Tomcat thread pool utilization and connection handling metrics for anomalies
  • Set up alerts for user-reported data inconsistencies that may indicate cross-connection data leakage
  • Implement periodic security audits of Tomcat version deployments across the infrastructure
  • Review application logs for HTTP response correlation errors or session anomalies

How to Mitigate CVE-2021-43980

Immediate Actions Required

  • Upgrade Apache Tomcat to a patched version: 10.1.0-M13+, 10.0.19+, 9.0.61+, or 8.5.78+
  • Review and audit any sensitive data that may have been exposed if running affected versions
  • Implement network segmentation to limit exposure of vulnerable Tomcat instances
  • Consider temporary traffic reduction measures if immediate patching is not possible

Patch Information

Apache has released security patches addressing this vulnerability. Refer to the Apache Mailing List Thread for official patch information and upgrade guidance.

For Debian-based systems, security updates are available through:

  • Debian Security Advisory DSA-5265
  • Debian LTS Announcement

Additional technical discussion is available at the Openwall OSS-Security Discussion.

Workarounds

  • Reduce the maximum number of concurrent connections (maxConnections) to lower the probability of triggering the race condition
  • Configure connection timeouts more aggressively to reduce window of exposure
  • Implement a reverse proxy with session affinity to reduce concurrent connection load per Tomcat instance
  • Monitor for and immediately investigate any user reports of receiving incorrect response data
bash
# Configuration example - Reduce concurrent connections in server.xml
# Modify the Connector element to limit maximum connections:
# <Connector port="8080" protocol="HTTP/1.1"
#            maxConnections="500"
#            connectionTimeout="20000"
#            redirectPort="8443" />

# Verify current Tomcat version
catalina.sh version

# Check for security updates on Debian systems
apt-get update && apt-cache policy tomcat9

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

  • Vulnerability Details
  • TypeRace Condition

  • Vendor/TechApache Tomcat

  • SeverityLOW

  • CVSS Score3.7

  • EPSS Probability0.18%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-362
  • Technical References
  • Openwall OSS-Security Discussion

  • Debian LTS Announcement

  • Debian Security Advisory DSA-5265
  • Vendor Resources
  • Apache Mailing List Thread
  • Related CVEs
  • CVE-2025-52434: Apache Tomcat Race Condition Vulnerability

  • CVE-2024-56337: Apache Tomcat Race Condition Vulnerability

  • CVE-2024-50379: Apache Tomcat Race Condition Vulnerability

  • CVE-2026-34500: Apache Tomcat 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