# CVE-2024-29370: In python-jose 3.3.0 (specifically jwe.decrypt), a vulnerability allows an attacker to cause a Denial-of-Service (DoS) condition by craftin…

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-17T00:00:00.000Z
- Modified: 2026-10-27T18:10:00.130Z
- Also known as: GHSA-h4pw-wxh7-4vjj, PYSEC-2025-185
- Weaknesses: CWE-409
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- python-jose (PyPI): before 3.4.0; up to 3.3.0
- python-jose_project python-jose: 3.3.0

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/mpdavis/python-jose/issues/344> (exploit, fix, issue-tracking, patch, web)
- <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)

## Sources

- CVE List: [CVE-2024-29370](https://www.cve.org/CVERecord?id=CVE-2024-29370), CVE Terms of Use, modified 2025-12-17
- GitHub Advisory Database: [GHSA-h4pw-wxh7-4vjj](https://github.com/advisories/GHSA-h4pw-wxh7-4vjj), CC-BY-4.0, modified 2026-06-10
- NVD: [CVE-2024-29370](https://nvd.nist.gov/vuln/detail/CVE-2024-29370), Public domain, modified 2026-10-27
- PyPA Advisory Database: [PYSEC-2025-185](https://osv.dev/vulnerability/PYSEC-2025-185), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2024-29370 · Whole record: https://cve.day/CVE-2024-29370.json · Rebuilt by cve.day 2026-11-25T22:58:52.945Z
