CVE-2024-28122

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

State
Published
Severity
6.8 Medium
Published
Mar 9, 2024
Updated
Apr 16, 2025
Reserved
Mar 4, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.8 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:HGitHub_M

Weaknesses

  • CWE-400 Uncontrolled Resource Consumption

Affected Products

ProductVersions
jwxlestrrat-go
  • >= 2.0.0, < 2.0.21Affected
  • >= 1.2.0, < 1.2.29Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.