What’s Vulnerable › Vulnerabilities

CVE-2024-28102: JWCrypto vulnerable to JWT bomb Attack in `deserialize` function

Description

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.

Affected products

How to fix

Upgrade to a fixed version: latchset jwcrypto 1.5.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-28102 or the next vulnerability affects your stack