Skip to main content

Uncontrolled Resource Consumption

CVE-2024-28122

Severity Medium
Score 6.8/10

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 affects versions 1.0.2 through 1.2.28, and 2.x through 2.0.20.

  • LOW
  • NETWORK
  • NONE
  • CHANGED
  • NONE
  • HIGH
  • NONE
  • HIGH

CWE-400 - Uncontrolled resource consumption

An uncontrolled resource allocation attack (also known as resource exhaustion attack) triggers unauthorized overconsumption of the limited resources in an application, such as memory, file system storage, database connection pool entries, and CPU. This may lead to denial of service for valid users and degradation of the application's functionality as well as that of the host operating system.

Advisory Timeline

  • Published