CVE-2024-33663: python-jose algorithm confusion with OpenSSH ECDSA keys

python-jose Updated 02 Oct 2025

Summary

26/04/2024
Yes i
Critical
7.4

CVE-2024-33663: python-jose algorithm confusion with OpenSSH ECDSA keys. Affects python-jose versions < 3.4.0. Fixed in 3.4.0. How to fix ↓

Also tracked for

The same CVE-2024-33663 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

python-jose is a Python library that provides a simple interface for handling JSON Web Tokens (JWTs). It is commonly used for authentication and authorization purposes in web applications. The library supports various algorithms for signing and encrypting JWTs, including OpenSSH ECDSA keys. However, a vulnerability has been discovered in python-jose versions up to 3.3.0, which allows for algorithm confusion with OpenSSH ECDSA keys and other key formats. This vulnerability is similar to CVE-2022-29217.

Vulnerability Detail

The algorithm confusion vulnerability in python-jose can lead to security issues when processing OpenSSH ECDSA keys and other key formats. An attacker could exploit this vulnerability to bypass security controls and perform unauthorized actions. The specific technical details of this vulnerability are not provided in the available information.

How To Fix

Latest published version: 3.5.0 as of 22 Oct 2026

pip install --upgrade "python-jose==3.5.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

3.4.0

This is the first release that contains the fix.

pip install --upgrade "python-jose==3.4.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

No workaround is mentioned in the available information.

Conclusion

The python-jose library is vulnerable to algorithm confusion with OpenSSH ECDSA keys and other key formats. Upgrading to version 3.3.1 or later is recommended to mitigate this vulnerability. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for python-jose →

Share this vulnerability

FAQ

python-jose is a Python library for handling JSON Web Tokens (JWTs) used for authentication and authorization in web applications.

The vulnerability allows for algorithm confusion with OpenSSH ECDSA keys and other key formats, potentially enabling unauthorized actions by attackers.

Yes, upgrading python-jose to version 3.3.1 or later resolves this vulnerability.

No, only versions up to 3.3.0 are affected by this vulnerability.

No specific exploits are mentioned in the available information.

Related vulnerabilities

Recent vulnerabilities recorded for python-jose.

How To Fix

Latest published version: 3.5.0 as of 22 Oct 2026

pip install --upgrade "python-jose==3.5.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

3.4.0

This is the first release that contains the fix.

pip install --upgrade "python-jose==3.4.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback