Vulnerability · Published Dec 17, 2025 · Assigned by mitre
CVE-2024-29370
Medium 5.3
In plain English
A medium-severity security flaw in the python-jose package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-jose | no fix listed | DEBIAN-CVE-2024-29370 |
| PyPI | python-jose | 3.4.0 | GHSA-h4pw-wxh7-4vjj |
| PyPI | python-jose | no fix listed | PYSEC-2025-185 |
| Ubuntu:22.04:LTS | python-jose | no fix listed | UBUNTU-CVE-2024-29370 |
| Ubuntu:24.04:LTS | python-jose | no fix listed | UBUNTU-CVE-2024-29370 |
Affected products (as reported)
Weakness: CWE-409 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L