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-2024-32007

CVE-2024-32007: Apache CXF JOSE DOS Vulnerability

CVE-2024-32007 is a denial of service vulnerability in Apache CXF JOSE caused by improper input validation of the p2c parameter. This post covers the technical details, affected versions, impact, and mitigation.

Published: January 28, 2026

CVE-2024-32007 Overview

CVE-2024-32007 is an improper input validation vulnerability affecting the Apache CXF JOSE (JavaScript Object Signing and Encryption) code. The vulnerability exists in the handling of the p2c (PBES2 iteration count) parameter, which allows an attacker to specify an arbitrarily large value in a token. When the application processes a token with an excessive p2c value, it can trigger a denial of service condition by consuming excessive computational resources during password-based encryption operations.

Critical Impact

Attackers can exploit this vulnerability remotely without authentication to cause denial of service by sending specially crafted tokens with large p2c parameter values, potentially making applications unavailable to legitimate users.

Affected Products

  • Apache CXF versions before 4.0.5
  • Apache CXF versions before 3.6.4
  • Apache CXF versions before 3.5.9

Discovery Timeline

  • 2024-07-19 - CVE CVE-2024-32007 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-32007

Vulnerability Analysis

This vulnerability stems from improper input validation (CWE-20) in the Apache CXF JOSE implementation. The JOSE specification defines the p2c parameter as the PBES2 (Password-Based Encryption Scheme 2) iteration count, which determines how many times the key derivation function is applied during encryption and decryption operations. Without proper bounds checking, an attacker can supply an extremely large iteration count value, causing the system to perform excessive cryptographic computations.

The attack is particularly impactful because it requires no authentication and can be executed remotely over the network. A single malicious request with an inflated p2c value can consume significant CPU resources, and sustained attacks can render the service unavailable to legitimate users.

Root Cause

The root cause is the absence of upper bound validation on the p2c parameter in the JOSE token processing code. The PBES2 iteration count is intended to add computational cost to deter brute-force attacks against encrypted content, but without a maximum limit, this security feature becomes an attack vector. The application accepts arbitrary p2c values from untrusted input (the token), allowing attackers to dictate the computational cost of token processing.

Attack Vector

The attack vector is network-based and requires no privileges or user interaction. An attacker crafts a JOSE token (JWE - JSON Web Encryption) containing a maliciously large p2c parameter value in the token header. When the target Apache CXF application attempts to decrypt or validate this token, the key derivation function iterates the specified number of times, consuming CPU resources proportional to the p2c value.

The attack can be executed against any endpoint that processes JOSE tokens, including REST API authentication endpoints, SSO implementations, and web services using encrypted tokens. Multiple concurrent requests can amplify the denial of service effect.

Detection Methods for CVE-2024-32007

Indicators of Compromise

  • Unusual CPU spikes on application servers processing JOSE/JWE tokens
  • Increased response times or timeouts on authentication-related endpoints
  • Log entries showing token processing failures after extended delays
  • Abnormally large p2c values in incoming JWE token headers (typically legitimate values are in the thousands, not millions)

Detection Strategies

  • Monitor CPU utilization patterns on services handling JOSE token processing
  • Implement request logging that captures JWE header parameters for analysis
  • Set up alerting for authentication endpoint response time anomalies
  • Review web application firewall logs for unusually large JSON payloads in token fields

Monitoring Recommendations

  • Configure application performance monitoring (APM) to track JOSE token processing latency
  • Establish baseline metrics for normal p2c values in your environment and alert on deviations
  • Monitor thread pool exhaustion in Java application servers running Apache CXF
  • Implement rate limiting on endpoints that accept JOSE tokens to mitigate bulk attack attempts

How to Mitigate CVE-2024-32007

Immediate Actions Required

  • Upgrade Apache CXF to version 4.0.5, 3.6.4, or 3.5.9 or later depending on your version branch
  • If immediate upgrade is not possible, implement rate limiting on endpoints processing JOSE tokens
  • Consider implementing a Web Application Firewall (WAF) rule to inspect and limit p2c parameter values
  • Review and audit all endpoints that accept JWE tokens for exposure to this vulnerability

Patch Information

Apache has released security patches addressing this vulnerability. Users should upgrade to the following versions:

  • For the 4.x branch: upgrade to 4.0.5 or later
  • For the 3.6.x branch: upgrade to 3.6.4 or later
  • For the 3.5.x branch: upgrade to 3.5.9 or later

For detailed patch information, refer to the Apache Mailing List Discussion. Additional vendor guidance is available in the NetApp Security Advisory ntap-20240808-0009.

Workarounds

  • Implement request timeout limits on token processing operations to prevent long-running computations
  • Deploy rate limiting on authentication and token validation endpoints
  • Add input validation at the application or WAF level to reject tokens with p2c values exceeding reasonable thresholds (e.g., values above 310,000 should be scrutinized)
  • Consider temporarily disabling PBES2-based encryption if not required for your use case
bash
# Example Maven dependency update for Apache CXF 4.x
# Update pom.xml to use patched version:
# <dependency>
#     <groupId>org.apache.cxf</groupId>
#     <artifactId>cxf-core</artifactId>
#     <version>4.0.5</version>
# </dependency>

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechApache Cxf

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.23%

  • 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
  • CWE-20

  • NVD-CWE-noinfo
  • Technical References
  • Openwall OSS-Security List Post

  • NetApp Security Advisory ntap-20240808-0009
  • Vendor Resources
  • Apache Mailing List Discussion
  • Related CVEs
  • CVE-2025-23184: Apache CXF DOS Vulnerability

  • CVE-2025-48795: Apache CXF Denial of Service Vulnerability

  • CVE-2021-30468: Apache CXF DOS Vulnerability

  • CVE-2025-48913: Apache CXF JMS RCE Vulnerability
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