CVE-2024-29370
MEDIUM 5.3CVSS 3.1Duplicate Advisory: python-jose denial of service via compressed JWE content
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.
- Published
- 17 Dec 2025
- Last modified
- 27 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-409
- Also known as
- GHSA-h4pw-wxh7-4vjjPYSEC-2025-185
- Sources
- NVDJSONOSV GHSA-h4pw-wxh7-4vjjJSONOSV PYSEC-2025-185JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python-jose_project | python-josecpe:2.3:a:python-jose_project:python-jose:3.3.0:*:*:*:*:*:*:* |
= 3.3.0 | |
| OSV | PyPI | python-jose | < 3.4.0 | 3.4.0 |
| OSV | PyPI | python-jose | <= 3.3.0 |
References
- https://github.com/mpdavis/python-jose/issues/344 · Exploit, Issue Tracking, Patch, WEB, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2024-29370 · ADVISORY
- https://github.com/mpdavis/python-jose/commit/483529ee93a3ab510ab579d4d4cc644dba926ade · WEB
- https://github.com/mpdavis/python-jose/releases/tag/3.4.0 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/python-jose/PYSEC-2025-185.yaml · WEB
- https://github.com/advisories/GHSA-h4pw-wxh7-4vjj · ADVISORY
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 17 Dec 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Dec 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 Dec 2025)