CVE Catalog

CVE-2024-29370

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.19%

8th percentile - higher than 8% of all known CVEs

Summary

In python-jose 3.3.0 (specifically jwe.decrypt), a vulnerability allows an attacker to cause a Denial-of-Service (DoS) condition by crafting a malicious JSON Web Encryption (JWE) token with an exceptionally high compression ratio. When this token is processed by the server, it results in significant memory allocation and processing time during decompression.

Risk Assessment

The vulnerability may lead to server resource exhaustion (memory and CPU time), potentially causing denial of service for legitimate users and disrupting application availability.

Recommendation

Update the python-jose library to a patched version or implement limits on the size and compression ratio of processed JWE tokens.

Other vulnerabilities in python-jose

See all
Original NVD description (English source)

In python-jose 3.3.0 (specifically jwe.decrypt), a vulnerability allows an attacker to cause a Denial-of-Service (DoS) condition by crafting a malicious JSON Web Encryption (JWE) token with an exceptionally high compression ratio. When this token is processed by the server, it results in significant memory allocation and processing time during decompression.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS