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

CVE-2024-33663: Python-jose Algorithm Confusion Vulnerability

CVE-2024-33663 is an algorithm confusion vulnerability in Python-jose affecting versions through 3.3.0, involving OpenSSH ECDSA keys and other key formats. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2024-33663 Overview

CVE-2024-33663 is an algorithm confusion vulnerability affecting python-jose through version 3.3.0. The vulnerability enables attackers to exploit key format confusion when handling OpenSSH ECDSA keys and other key formats, potentially allowing authentication bypass or signature forgery. This vulnerability is similar to CVE-2022-29217, which affected the PyJWT library with comparable algorithm confusion issues.

Critical Impact

Applications using python-jose for JWT validation may be vulnerable to authentication bypass through algorithm confusion attacks when processing OpenSSH ECDSA keys.

Affected Products

  • python-jose versions through 3.3.0
  • Applications using python-jose for JWT token validation
  • Systems processing OpenSSH ECDSA key formats with python-jose

Discovery Timeline

  • 2024-04-26 - CVE-2024-33663 published to NVD
  • 2025-09-02 - Last updated in NVD database

Technical Details for CVE-2024-33663

Vulnerability Analysis

This vulnerability falls under CWE-327 (Use of a Broken or Risky Cryptographic Algorithm) and manifests through algorithm confusion in the JWT verification process. The core issue lies in how python-jose handles different key formats, particularly OpenSSH ECDSA keys. When an attacker can influence the key material used for verification, they may exploit the algorithm confusion to bypass signature validation entirely.

Algorithm confusion attacks against JWT libraries typically exploit the mismatch between asymmetric and symmetric signing algorithms. An attacker may craft a malicious JWT token that uses a symmetric algorithm (like HS256) with the public key as the secret, potentially allowing them to forge valid signatures when the application expects asymmetric verification (like RS256 or ES256).

Root Cause

The root cause stems from improper algorithm enforcement during JWT verification. When python-jose processes tokens, it may not adequately validate that the algorithm specified in the JWT header matches the expected algorithm type for the provided key. This allows an attacker to specify an unexpected algorithm in the token header that is compatible with the key material but not with the intended security model.

The vulnerability specifically affects scenarios involving OpenSSH ECDSA keys, where the key format parsing may allow for algorithm type confusion between ECDSA and other cryptographic operations.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Obtaining the public key used by the target application (often publicly available or leaked)
  2. Crafting a malicious JWT with a modified algorithm header
  3. Signing the token using the public key as a symmetric secret
  4. Submitting the forged token to bypass authentication

The vulnerability mechanism involves manipulating the JWT header to specify a different algorithm than expected. For detailed technical analysis, see the Vicarius security blog post and the GitHub issue discussion.

Detection Methods for CVE-2024-33663

Indicators of Compromise

  • JWT tokens with unexpected algorithm headers (e.g., HS256 when ES256 or RS256 is expected)
  • Authentication logs showing successful token validation with mismatched algorithm types
  • Unusual key format processing errors in application logs
  • Attempts to access protected resources with tokens signed using public key material

Detection Strategies

  • Implement logging for JWT algorithm headers and flag tokens using unexpected algorithms
  • Monitor for authentication anomalies where users authenticate successfully with unusual token characteristics
  • Deploy static code analysis to identify python-jose usage patterns vulnerable to algorithm confusion
  • Review application configurations to ensure explicit algorithm enforcement is in place

Monitoring Recommendations

  • Configure alerting for JWT validation attempts using symmetric algorithms when asymmetric is expected
  • Monitor dependency inventory for python-jose versions 3.3.0 and earlier
  • Track authentication patterns for anomalous successful validations following failed attempts
  • Implement security event correlation to identify potential exploitation attempts across multiple services

How to Mitigate CVE-2024-33663

Immediate Actions Required

  • Audit all applications using python-jose and inventory affected versions
  • Implement explicit algorithm allowlists in JWT verification code to prevent algorithm confusion
  • Consider migrating to alternative JWT libraries such as PyJWT or joserfc that have addressed similar vulnerabilities
  • Review authentication logs for signs of attempted or successful exploitation

Patch Information

As of the last NVD update on 2025-09-02, organizations should monitor the python-jose GitHub repository for official patches and security advisories. The vulnerability affects versions through 3.3.0, and users should upgrade to any subsequent version that addresses CVE-2024-33663 once available.

Workarounds

  • Explicitly specify allowed algorithms when calling JWT decode functions to prevent algorithm substitution
  • Implement server-side validation to reject tokens with unexpected algorithm headers before verification
  • Use separate key objects for different algorithm types to prevent key confusion
  • Consider using asymmetric-only key handlers that reject symmetric algorithm specifications
python
# Recommended: Explicitly specify allowed algorithms
from jose import jwt

# Instead of allowing any algorithm, explicitly specify expected algorithms
allowed_algorithms = ["ES256"]  # Only allow the expected ECDSA algorithm

try:
    payload = jwt.decode(
        token,
        public_key,
        algorithms=allowed_algorithms  # Prevent algorithm confusion
    )
except jwt.JWTError as e:
    # Handle validation failure
    pass

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechPython Jose

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.68%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-327
  • Vendor Resources
  • GitHub Issue Discussion

  • Vicarius Blog Post on CVE-2024-33663
  • Latest CVEs
  • CVE-2026-25874: LeRobot RCE Vulnerability

  • CVE-2026-41272: Flowise LLM Builder SSRF Vulnerability

  • CVE-2026-41268: Flowise RCE Vulnerability

  • CVE-2026-41265: Flowise Airtable Agent RCE 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