GitHub Advisoryadvisory · Maven

GHSA-54f3-c6hg-865h Allocation of Resources Without Limits in Keycloak

HIGH Published 2023-12-14 Modified 2023-12-29 Official page ↗
Aliases
CVE-2023-6563
Ecosystem
Maven
Packages
org.keycloak:keycloak-model-jpa
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Weaknesses
CWE-770
Reviewed
2023-12-15

Affected packages

• Maven org.keycloak:keycloak-model-jpa: < 21.0.0 → fixed in 21.0.0

Description

An unconstrained memory consumption vulnerability was discovered in Keycloak. It can be triggered in environments which have millions of offline tokens (> 500,000 users with each having at least 2 saved sessions). If an attacker creates two or more user sessions and then open the "consents" tab of the admin User Interface, the UI attempts to load a huge number of offline client sessions leading to excessive memory and CPU consumption which could potentially crash the entire system.

Related

Alias · CVE (1)

  • CVE-2023-6563 An unconstrained memory consumption vulnerability was discovered in Keycloak. vulnerability

Weakness · CWE (1)

  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

References