Skip to main content
VulnerabilityPublished Updated

CVE-2024-33664: python-jose · Uncontrolled Resource Consumption

Affects python-joseSource CVE Database V5

0

Mentioned vulnerabilities

Not known to be exploited · CVSS 5.3 Medium.

Data as of 26 Oct 2026, 13:47 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 55% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Apr 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
PyPIpython-josepkg:pypi/python-joseOther threatsAffected
  • <=3.3.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2024-33664, organizations should: 1) Monitor for updates from the python-jose maintainers and apply patches promptly once available. 2) Implement input validation and size limits on incoming JWE tokens to reject tokens with suspiciously high compression ratios or excessively large payloads before decoding. 3) Use resource limiting techniques such as CPU timeouts, memory limits, or sandboxing around token decoding operations to prevent resource exhaustion from impacting the entire application. 4) Employ rate limiting and anomaly detection on endpoints that accept JWE tokens to detect and block potential abuse patterns. 5) Consider alternative JWT/JWE libraries with built-in protections against decompression bombs if patching is delayed. 6) Conduct security testing and fuzzing of token processing components to identify similar resource exhaustion vectors. These steps go beyond generic advice by focusing on proactive resource management and input validation specific to the nature of this vulnerability.

Description

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

Community reviews

Loading reviews…