Intel

AIKIDO-2025-10337

python-jose is vulnerable to Generation of Error Message Containing Sensitive Information

Generation of Error Message Containing Sensitive Information Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 30, 2025

10

Low Risk

This Affects:

Pythonpython-jose
1.0.0 - 3.4.0
Fixed in 3.5.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to sensitive information leakage through JWKError exceptions. When an invalid algorithm is provided, error messages may disclose key data. An attacker can exploit this by submitting malformed key data, forcing exceptions that reveal sensitive information. It could allow the attacker to gather cryptographic material, potentially leading to signature forgery or unauthorized access.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

python-jose is vulnerable to Generation of Error Message Containing Sensitive Information in versions 1.0.0 - 3.4.0.

How to fix this

Upgrade the python-jose library to a patch version.