What’s Vulnerable › Vulnerabilities

CVE-2024-28122: JWX vulnerable to a denial of service attack using compressed JWE message

Description

JWX is Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. This vulnerability allows an attacker with a trusted public key to cause a Denial-of-Service (DoS) condition by crafting a malicious JSON Web Encryption (JWE) token with an exceptionally high compression ratio. This issue has been patched in versions 1.2.29 and 2.0.21.

Affected products

How to fix

Upgrade to a fixed version: lestrrat-go jwx 1.2.29, 2.0.21. Check the vendor advisory for mitigations.

References

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