Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. python-jose
  4. ›
  5. CVE-2024-33664

CVE-2024-33664: python-jose denial of service via compressed JWE content

April 26, 2024 (updated February 18, 2025)

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

  • github.com/advisories/GHSA-cjwg-qfpm-7377
  • github.com/mpdavis/python-jose
  • github.com/mpdavis/python-jose/issues/344
  • github.com/mpdavis/python-jose/pull/345
  • github.com/mpdavis/python-jose/releases/tag/3.4.0
  • github.com/pypa/advisory-database/tree/main/vulns/python-jose/PYSEC-2024-233.yaml
  • nvd.nist.gov/vuln/detail/CVE-2024-33664
  • www.vicarius.io/vsociety/posts/jwt-bomb-in-python-jose-cve-2024-33664

Code Behaviors & Features

Detect and mitigate CVE-2024-33664 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.4.0

Fixed versions

  • 3.4.0

Solution

Upgrade to version 3.4.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/python-jose/CVE-2024-33664.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:30 +0000.