CVE-2024-29370: python-jose · CVE-2024-29370 is a medium severity
Affects python-joseSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 17 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIpython-josepkg:pypi/python-joseOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Monitor python-jose project repositories and security advisories for official patches or updates addressing CVE-2024-29370 and apply them promptly once available.
- Implement input validation and rate limiting on endpoints that accept JWE tokens to detect and block tokens with suspiciously high compression ratios or abnormal sizes.
- Employ resource usage monitoring and set strict memory and CPU usage limits for services handling JWE decryption to prevent resource exhaustion.
- Consider using alternative libraries or updated versions of python-jose that are not affected by this vulnerability if immediate patching is not possible.
- Deploy Web Application Firewalls (WAFs) with custom rules to detect and block malformed or malicious JWE tokens.
- Conduct security testing and fuzzing on token processing components to identify and mitigate similar resource exhaustion risks.
- Educate development teams about secure handling of compressed data and the risks of decompression bombs.
- Isolate critical services and implement failover mechanisms to maintain availability during potential DoS attempts.
Description
CVE-2024-29370 is a medium severity vulnerability in python-jose 3.3.0's JWE decryption function that allows an attacker to cause a Denial-of-Service (DoS) by sending a malicious JSON Web Encryption token with an extremely high compression ratio. This crafted token triggers excessive memory allocation and processing time during decompression, potentially exhausting server resources. The vulnerability requires no authentication or user interaction and can be exploited remotely over the network. While no known exploits are currently reported in the wild, affected systems processing untrusted JWE tokens are at risk. The CVSS score is 5.3, reflecting a moderate impact on availability without affecting confidentiality or integrity. European organizations using python-jose for JWE token handling in web services or APIs should prioritize mitigation to prevent service disruption. No official patches are available yet, so defensive measures are critical.