CVE-2024-29370

python-jose: python-jose: Denial-of-Service via malicious JSON Web Encryption (JWE) token decompression

Published Dec 17, 2025 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-h4pw-wxh7-4vjj Duplicate Advisory: python-jose denial of service via compressed JWE content
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:python-jose_project:python-jose:3.3.0:*:*:*:*:*:*:*
Type Values Removed Values Added
Title python-jose: python-jose: Denial-of-Service via malicious JSON Web Encryption (JWE) token decompression
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Python-jose Project
Python-jose Project python-jose
Vendors & Products Python-jose Project
Python-jose Project python-jose
Type Values Removed Values Added
Weaknesses CWE-409
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

Type Values Removed Values Added
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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Dec 17, 2025, 4:09 PM
Reserved
Mar 19, 2024, 12:00 AM
Status
Analyzed
Published
Dec 17, 2025, 4:16 PM
Modified
Oct 27, 2026, 6:10 PM
Severity
Moderate
Public date
Dec 17, 2025, 12:00 AM