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-2023-52428

CVE-2023-52428: Nimbus JOSE+JWT DOS Vulnerability

CVE-2023-52428 is a denial of service vulnerability in Connect2id Nimbus JOSE+JWT that allows attackers to cause resource exhaustion via excessive JWE p2c values. This article covers technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2023-52428 Overview

CVE-2023-52428 is a denial of service vulnerability in Connect2id Nimbus JOSE+JWT, a widely-used Java library for JSON Web Token (JWT) processing. The vulnerability allows an attacker to cause significant resource consumption by supplying a maliciously crafted JWE (JSON Web Encryption) token with an excessively large p2c (PBES2 iteration count) header value. When the PasswordBasedDecrypter component processes such a token using PBKDF2 (Password-Based Key Derivation Function 2), the system becomes overwhelmed attempting to perform the requested number of cryptographic iterations, leading to CPU exhaustion and service unavailability.

Critical Impact

Applications using Nimbus JOSE+JWT for password-based JWE decryption are vulnerable to resource exhaustion attacks that can render services completely unavailable without requiring authentication.

Affected Products

  • Connect2id Nimbus JOSE+JWT versions prior to 9.37.2

Discovery Timeline

  • 2024-02-11 - CVE CVE-2023-52428 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-52428

Vulnerability Analysis

The vulnerability resides in the PasswordBasedDecrypter component of Nimbus JOSE+JWT, which implements the PBES2 (Password-Based Encryption Scheme 2) algorithm for JWE decryption. PBKDF2 is intentionally designed to be computationally expensive to resist brute-force attacks against passwords. The p2c header parameter in JWE tokens specifies how many iterations the PBKDF2 function should perform during key derivation.

In vulnerable versions, the library fails to enforce a reasonable upper bound on the p2c value. An attacker can craft a malicious JWE token with an astronomically high iteration count (potentially billions of iterations), which the library will attempt to execute. This leads to prolonged CPU consumption, potentially freezing application threads and causing denial of service conditions.

Root Cause

The root cause is insufficient input validation on the p2c (PBES2-Count) header value in incoming JWE tokens. The JOSE specification (RFC 7518) does not mandate a maximum value for this parameter, and the Nimbus library prior to version 9.37.2 did not implement application-level restrictions. This allows attackers to specify arbitrarily large values that translate directly into computational work performed by the server.

Attack Vector

This vulnerability is exploitable remotely over the network without any authentication. An attacker simply needs to identify an endpoint that accepts and processes JWE tokens using password-based decryption. The attack can be executed by sending a single crafted HTTP request containing the malicious JWE token.

The attack flow proceeds as follows: the attacker constructs a JWE token with a valid structure but includes an extremely large p2c header value (e.g., 2147483647). When the application attempts to decrypt this token using PasswordBasedDecrypter, the PBKDF2 implementation begins executing the specified number of iterations. Since no upper bound check exists, the CPU becomes saturated processing the excessive iterations, starving other application threads and eventually causing service degradation or complete unavailability.

Detection Methods for CVE-2023-52428

Indicators of Compromise

  • Abnormal CPU utilization spikes correlated with JWT/JWE processing endpoints
  • Increased response times or timeouts on authentication or token-processing services
  • Application logs showing extended processing times for JWE decryption operations
  • Thread dumps revealing threads stuck in PBKDF2 key derivation operations

Detection Strategies

  • Implement monitoring for JWE tokens with unusually high p2c header values exceeding reasonable thresholds (e.g., above 310,000 iterations)
  • Deploy web application firewall rules to inspect and reject JWE tokens with suspicious PBES2 parameters
  • Enable application performance monitoring to detect anomalous CPU consumption patterns in token processing
  • Audit code dependencies to identify usage of vulnerable Nimbus JOSE+JWT versions

Monitoring Recommendations

  • Configure alerts for sustained high CPU usage on application servers handling JWT operations
  • Monitor thread pool exhaustion metrics in JVM-based applications
  • Track request latency percentiles for endpoints that process JWE tokens
  • Implement circuit breaker patterns with timeout thresholds for cryptographic operations

How to Mitigate CVE-2023-52428

Immediate Actions Required

  • Upgrade Connect2id Nimbus JOSE+JWT to version 9.37.2 or later immediately
  • Audit all applications and services for dependencies on vulnerable library versions
  • Review and validate any JWE processing endpoints for exposure to untrusted input
  • Consider implementing input validation at the application layer to reject JWE tokens with excessive p2c values

Patch Information

The vulnerability has been addressed in Nimbus JOSE+JWT version 9.37.2. The fix introduces proper validation and limits on the p2c header value to prevent excessive iteration counts. The security patch can be reviewed in the Bitbucket commit 3b3b77e. Additional details about the vulnerability are available in the Bitbucket issue tracker.

For Maven projects, update the dependency to the patched version:

xml
<dependency>
    <groupId>com.nimbusds</groupId>
    <artifactId>nimbus-jose-jwt</artifactId>
    <version>9.37.2</version>
</dependency>

Workarounds

  • If immediate upgrade is not possible, implement a custom JWE header validator that rejects tokens with p2c values exceeding a safe threshold (recommended maximum: 310,000 iterations)
  • Deploy request timeout mechanisms at the application server or reverse proxy level to terminate long-running requests
  • Consider temporarily disabling password-based JWE decryption endpoints until the library can be upgraded
  • Implement rate limiting on endpoints that process JWE tokens to reduce the impact of repeated exploitation attempts
bash
# Check current Nimbus JOSE+JWT version in Maven projects
mvn dependency:tree -Dincludes=com.nimbusds:nimbus-jose-jwt

# Update dependency to patched version
mvn versions:use-dep-version -Dincludes=com.nimbusds:nimbus-jose-jwt -DdepVersion=9.37.2

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechConnect2id Nimbus Jose+jwt

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.08%

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

  • CWE-770
  • Technical References
  • Bitbucket Issue Tracker

  • Connect2id Product Overview
  • Vendor Resources
  • Bitbucket Commit Details
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS 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