GHSA-cjwg-qfpm-7377
python-jose denial of service via compressed JWE content
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| PyPI | python-jose | < 3.4.0 | 3.4.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2024-33664
- https://github.com/mpdavis/python-jose/issues/344
- https://github.com/mpdavis/python-jose/pull/345
- https://github.com/mpdavis/python-jose
- https://github.com/mpdavis/python-jose/releases/tag/3.4.0
- https://github.com/pypa/advisory-database/tree/main/vulns/python-jose/PYSEC-2024-233.yaml
- https://www.vicarius.io/vsociety/posts/jwt-bomb-in-python-jose-cve-2024-33664