CVE-2024-29370 json
Duplicate Advisory: python-jose denial of service via compressed JWE content
published 2025-12-17 10 mo ago modified 2026-10-27 12 d ago also GHSA-h4pw-wxh7-4vjj , PYSEC-2025-185 , EUVD-2024-26380
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
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.
Patch / fix
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-29370 updated cvss 7.5
python-jose: python-jose: Denial-of-Service via malicious JSON Web Encryption (JWE) token decompression
-
Red Hat Ansible Automation Platform 2 python-jose, ansible-automation-platform-25/lightspeed-chatbot-rhel8affected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-llama-stack-core-rhel9affected: workaround, no fix available
-
Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-ocp-rag-rhel9not affected: component not present
-
Red Hat Ansible Automation Platform 2 ansible-automation-platform-26/lightspeed-chatbot-rhel9not affected: vulnerable code not present
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-trustyai-ragas-lls-provider-dsp-rhel9not affected: component not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 10 mo ago
Exploit prediction
0.18% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/mpdavis/python-jose/issues/344 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | python-jose | <=3.3.0 |
no fix listed |
Classification
- Weakness
-
- CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
References
-
github.com
/mpdavis/python-jose/issues/344
web, exploit, issue-tracking, patch
-
github.com
/mpdavis/python-jose/commit/483529ee93a3ab510ab579d4d4cc644dba926ade
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-29370
advisory
-
github.com
/mpdavis/python-jose/releases/tag/3.4.0
web
-
github.com
/pypa/advisory-database/tree/main/vulns/python-jose/PYSEC-2025-185.yaml
web
-
github.com
/advisories/GHSA-h4pw-wxh7-4vjj
advisory
Sources
- CVE List CVE-2024-29370
- GitHub Advisory GHSA-h4pw-wxh7-4vjj
- NVD CVE-2024-29370
- OSV PYSEC-2025-185
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.