Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2024-33664

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-33664
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:35 UTC · Revision 1

Source evidence

CVE-2024-33664

core-osv · Original source

Published 25 Apr 2024, 00:00 UTC

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.

osv:CVE-2024-33664
Complete source record
{
  "id": "541770a8b9c277b6c67d0fd2aa5bfd9fe24a24518cd10cc6e9b1b91da375bf3d",
  "url": "https://osv.dev/vulnerability/CVE-2024-33664",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-33664",
    "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.",
    "evidence": "osv:CVE-2024-33664",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-33664",
      "aliases": [
        "CVE-2024-33664",
        "GHSA-cjwg-qfpm-7377",
        "PYSEC-2024-233"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mpdavis/python-jose",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "e5fcca27712c0ebdeb55d3c3cdad1c6e0f708ac3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "3.3.0"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "cpe": "cpe:2.3:a:python-jose_project:python-jose:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "3.3.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.3.0",
            "3.2.0",
            "3.1.0",
            "3.0.1",
            "3.0.0",
            "2.0.2",
            "2.0.1",
            "1.4.0",
            "1.3.2",
            "1.3.1",
            "1.3.0",
            "1.2.0",
            "1.1.0",
            "1.0.0",
            "0.7.0",
            "0.6.2",
            "0.6.1",
            "0.6.0",
            "0.5.6",
            "0.5.5",
            "v0.5.4",
            "0.5.3",
            "v0.5.2",
            "v0.5.1",
            "v0.2.0",
            "v0.1.5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-33664.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.256358325Z",
      "provider": "osv",
      "references": [
        "https://www.vicarius.io/vsociety/posts/jwt-bomb-in-python-jose-cve-2024-33664",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/33xxx/CVE-2024-33664.json",
        "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"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/33xxx/CVE-2024-33664.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-33664",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 488611,
  "published_at": "2024-04-25T00:00:00+00:00"
}