CVE-2024-29370: Medium severity pypi/python-jose vulnerability

Published Dec 17, 2025
·
Updated

Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-cjwg-qfpm-7377. This link is maintained to preserve external references.

Original Description

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.

Affected Software

3 affected componentsFixes available
pypi/python-jose
pip/python-jose<3.4.0
3.4.0
Python-jose Project Python-jose=3.3.0

Event History

Dec 17, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
RemedyAffected Software
Advisory Published
via GitHub·06:31 PM
Data Sourced
via GitHub·06:31 PM
DescriptionSeverityWeaknessAffected Software
Dec 18, 2025
Withdrawn
via GitHub·03:51 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-29370?

CVE-2024-29370 is classified as a Denial-of-Service (DoS) vulnerability due to the potential impact on server performance.

2

How do I fix CVE-2024-29370?

To mitigate CVE-2024-29370, update to a patched version of python-jose where the vulnerability has been addressed.

3

What software versions are affected by CVE-2024-29370?

CVE-2024-29370 affects python-jose version 3.3.0 and possibly earlier versions that handle JWE tokens.

4

How does CVE-2024-29370 impact server performance?

CVE-2024-29370 allows an attacker to create a JWE token with a high compression ratio, leading to excessive resource consumption and potential server downtime.

5

Who is at risk from CVE-2024-29370?

Developers and organizations using python-jose for JSON Web Encryption are at risk from CVE-2024-29370 if they have not upgraded to a safe version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203