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

CVE-2021-34428: Eclipse Jetty Auth Bypass Vulnerability

CVE-2021-34428 is an authentication bypass flaw in Eclipse Jetty that prevents session invalidation when exceptions occur. This can leave users logged in on shared systems. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 25, 2026

CVE-2021-34428 Overview

CVE-2021-34428 is a session management vulnerability affecting Eclipse Jetty, a popular open-source Java-based HTTP server, HTTP client, and servlet container. The vulnerability occurs when an exception is thrown from the SessionListener#sessionDestroyed() method, causing the session ID to remain valid in the session ID manager instead of being properly invalidated.

This flaw is particularly concerning in deployments utilizing clustered sessions with multiple contexts, where it can result in a session not being invalidated across the cluster. In practical terms, this means an application used on a shared computer could remain logged in even after the user believes they have logged out, potentially exposing sensitive information to subsequent users of the same system.

Critical Impact

On shared systems with clustered sessions, users may remain logged in after session destruction fails, creating unauthorized access opportunities for subsequent physical users.

Affected Products

  • Eclipse Jetty versions <= 9.4.40
  • Eclipse Jetty versions <= 10.0.2
  • Eclipse Jetty versions <= 11.0.2
  • Debian Linux 10.0
  • NetApp Active IQ Unified Manager (Linux and Windows)
  • NetApp E-Series SANtricity OS Controller
  • NetApp E-Series SANtricity Web Services
  • NetApp Element Plug-in for vCenter Server
  • NetApp SANtricity Cloud Connector
  • NetApp Snap Creator Framework
  • NetApp SnapManager for SAP
  • Oracle AutoVue for Agile Product Lifecycle Management 21.0.2
  • Oracle Communications Element Manager 8.2.2
  • Oracle Communications Services Gatekeeper 7.0
  • Oracle Communications Session Report Manager
  • Oracle Communications Session Route Manager
  • Oracle REST Data Services
  • Oracle Siebel Core - Automation

Discovery Timeline

  • 2021-06-22 - CVE-2021-34428 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-34428

Vulnerability Analysis

This vulnerability falls under CWE-613 (Insufficient Session Expiration), representing an improper session management flaw in Jetty's session handling mechanism. The core issue lies in the exception handling logic within the session destruction process.

When a web application registers a SessionListener to perform cleanup operations during session destruction, Jetty invokes the sessionDestroyed() callback method. Under normal circumstances, after this callback completes, Jetty removes the session ID from its internal session ID manager, ensuring the session cannot be reused.

However, when an exception is thrown from within the sessionDestroyed() method, the subsequent session ID invalidation code is bypassed. The session ID remains registered as valid in the session ID manager, even though the session object itself may have been partially cleaned up.

Root Cause

The root cause stems from inadequate exception handling in Jetty's session lifecycle management code. The session invalidation logic does not properly handle exceptions thrown by application-level SessionListener implementations. Instead of ensuring the session ID is always invalidated regardless of listener exceptions, the code allows the exception to propagate, leaving the session ID in a valid state within the session ID manager.

This design flaw violates the principle that security-critical operations (like session invalidation) should complete even when non-critical operations (like application cleanup callbacks) fail.

Attack Vector

The attack vector for this vulnerability requires physical access to a shared computer where the vulnerable application is deployed. The exploitation scenario unfolds as follows:

  1. A legitimate user authenticates to a Jetty-based web application on a shared computer
  2. The user attempts to log out, triggering session destruction
  3. The application's SessionListener#sessionDestroyed() method throws an exception during cleanup
  4. The session ID remains valid in the session ID manager due to the incomplete invalidation
  5. In clustered environments, the session may remain valid across multiple application contexts
  6. A subsequent physical user of the same computer may be able to access the previous user's session

The vulnerability is particularly impactful in environments with clustered sessions where session state is shared across multiple application contexts or server instances, as the incomplete invalidation affects the entire cluster.

Detection Methods for CVE-2021-34428

Indicators of Compromise

  • Unexpected session persistence in application logs after user logout attempts
  • Exceptions logged from SessionListener#sessionDestroyed() implementations followed by session reuse
  • Session IDs appearing active in session ID manager after destruction was requested
  • Audit logs showing access to authenticated resources after logout events

Detection Strategies

  • Review application logs for exceptions thrown during session destruction events
  • Monitor for patterns where logout actions are followed by continued session activity
  • Implement session auditing to track session lifecycle events and detect anomalies
  • Deploy application performance monitoring to identify exception patterns in SessionListener callbacks

Monitoring Recommendations

  • Enable verbose session lifecycle logging in Jetty to capture destruction events and failures
  • Implement custom monitoring for session ID manager state to detect orphaned sessions
  • Configure alerts for exception patterns in session listener execution
  • Monitor clustered session replication logs for inconsistent session states across nodes

How to Mitigate CVE-2021-34428

Immediate Actions Required

  • Upgrade Eclipse Jetty to version 9.4.41, 10.0.3, or 11.0.3 or later
  • Audit all SessionListener implementations to ensure proper exception handling
  • Wrap session listener code in try-catch blocks to prevent exceptions from propagating
  • Review clustered session configurations and validate session invalidation across contexts

Patch Information

Eclipse has released patched versions addressing this vulnerability. Organizations should upgrade to the following fixed versions:

  • Jetty 9.x: Upgrade to version 9.4.41 or later
  • Jetty 10.x: Upgrade to version 10.0.3 or later
  • Jetty 11.x: Upgrade to version 11.0.3 or later

For detailed information, refer to the GitHub Security Advisory. Additional vendor-specific patches are available from Oracle Security Alert October 2021, Oracle Security Alert January 2022, and NetApp Security Advisory NTAP-20210813-0003.

Workarounds

  • Implement defensive exception handling in all SessionListener#sessionDestroyed() methods to prevent exception propagation
  • Consider implementing a wrapper listener that catches and logs exceptions while ensuring cleanup completes
  • For shared computer environments, implement additional client-side session cleanup mechanisms
  • Reduce session timeout values to limit the exposure window for orphaned sessions
bash
# Configuration example - Review and harden session listener implementations
# Ensure all SessionListener implementations follow this pattern:

# In your web application's SessionListener:
# 1. Wrap all sessionDestroyed() logic in try-catch blocks
# 2. Log exceptions but do not rethrow them
# 3. Ensure critical cleanup completes even on partial failures

# Jetty upgrade example using Maven:
# Update pom.xml to use patched version:
# <dependency>
#   <groupId>org.eclipse.jetty</groupId>
#   <artifactId>jetty-server</artifactId>
#   <version>9.4.41.v20210516</version>
# </dependency>

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechEclipse Jetty

  • SeverityLOW

  • CVSS Score3.5

  • EPSS Probability0.67%

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

  • Apache Zookeeper Thread Discussion

  • Apache Zookeeper Notification

  • Apache Zookeeper Notification

  • Apache Zookeeper Issue Thread

  • Apache Kafka Thread Discussion

  • Apache Zookeeper Issue Thread

  • NetApp Security Advisory NTAP-20210813-0003

  • Debian Security Advisory DSA-4949

  • Oracle Security Alert April 2022
  • Vendor Resources
  • Oracle Security Alert January 2022

  • Oracle Security Alert October 2021
  • Related CVEs
  • CVE-2023-41900: Eclipse Jetty Auth Bypass Vulnerability

  • CVE-2026-2332: Eclipse Jetty HTTP Smuggling Vulnerability

  • CVE-2026-5795: Eclipse Jetty Privilege Escalation Flaw

  • CVE-2026-1605: Eclipse Jetty GzipHandler 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