Skip to main content
← All vulnerabilities
CVE-2024-28102GHSA-J857-7RVV-VJ97PYSEC-2026-1484

JWCrypto vulnerable to JWT bomb Attack in `deserialize` function

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.5.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

JWCrypto implements JWK, JWS, and JWE specifications using python-cryptography. Prior to version 1.5.6, an attacker can cause a denial of service attack by passing in a malicious JWE Token with a high compression ratio. When the server processes this token, it will consume a lot of memory and processing time. Version 1.5.6 fixes this vulnerability by limiting the maximum token length.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • latchset jwcrypto

    fixed in 1.5.6

  • jwcryptoPyPI

    fixed in 1.5.6

References 2

GitHub · latchset/jwcrypto