CVE-2024-33664 json
python-jose denial of service via compressed JWE content
published 2024-04-25 2 y ago modified 2026-06-17 4 mo ago also GHSA-cjwg-qfpm-7377 , PYSEC-2024-233 , EUVD-2024-1187
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
python-jose through 3.3.0 allows attackers to cause a denial of service (resource consumption) during a decode via a crafted JSON Web Encryption (JWE) token with a high compression ratio, aka a "JWT bomb." This is similar to CVE-2024-21319.
Patch / fix
- pypi python-jose 3.4.0
- python-cryptography openSUSE Tumbleweed 3.3.0-3.1
- python-python-jose Package Hub 15 SP5, openSUSE Leap 15.5 3.0.1-bp155.3.6.1
opensuse advisories openSUSE-SU-2024:13928-1openSUSE-SU-2024:0149-1
- github.com/mpdavis/python-jose#345 pull request
- github.com/mpdavis/python-jose/releases/tag/3.4.0 release
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-33664 updated
python-jose: allows attackers to cause a denial of service
-
Red Hat Ansible Automation Platform 2 python-jose, automation-controllernot affected: vulnerable code 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
- 2 y ago
Exploit prediction
0.78% chance of exploitation in the next 30 days, higher than 56% 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
- vicarius.io https://www.vicarius.io/vsociety/posts/jwt-bomb-in-python-jose-cve-2024-33664 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 |
| GitHub | 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.4.0 |
3.4.0 |
Affected products
- python-jose_project python-jose
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/mpdavis/python-jose/pull/345
web, issue-tracking, patch
-
github.com
/mpdavis/python-jose/issues/344
web, exploit, issue-tracking, mitigation, vendor-advisory, report
-
vicarius.io
/vsociety/posts/jwt-bomb-in-python-jose-cve-2024-33664
web, exploit, mitigation, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-33664
advisory
-
github.com
/mpdavis/python-jose
package
-
github.com
/mpdavis/python-jose/releases/tag/3.4.0
web
-
github.com
/pypa/advisory-database/tree/main/vulns/python-jose/PYSEC-2024-233.yaml
web
-
github.com
/advisories/GHSA-cjwg-qfpm-7377
advisory
Sources
- CVE List CVE-2024-33664
- GitHub Advisory GHSA-cjwg-qfpm-7377
- NVD CVE-2024-33664
- OSV PYSEC-2024-233
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.