Skip to main content
← All vulnerabilities
CVE-2024-28122GHSA-HJ3V-M684-V259GO-2024-2632

JWX vulnerable to a denial of service attack using compressed JWE message

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

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • lestrrat-go jwx

    From 2.0.0 · fixed in 2.0.21; From 1.2.0 · fixed in 1.2.29

  • github.com/lestrrat-go/jwx/v2Go

    fixed in 2.0.21

  • github.com/lestrrat-go/jwxGo

    fixed in 1.2.29

References 3

GitHub · lestrrat-go/jwx