CVE-2023-6563

Keycloak: offline session token dos

State
Published
Severity
7.7 High
Published
Dec 14, 2023
Updated
Sep 22, 2026
Reserved
Dec 6, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:Hredhat

Weaknesses

  • CWE-770 Allocation of Resources Without Limits or Throttling

Affected Products

ProductVersions
Red Hat Single Sign-On 7.6 for RHEL 7Red Hat
  • 0:18.0.11-2.redhat_00003.1.el7sso and laterNot affected
Red Hat Single Sign-On 7.6 for RHEL 8Red Hat
  • 0:18.0.11-2.redhat_00003.1.el8sso and laterNot affected
Red Hat Single Sign-On 7.6 for RHEL 9Red Hat
  • 0:18.0.11-2.redhat_00003.1.el9sso and laterNot affected
RHEL-8 based Middleware ContainersRed Hat
  • 7.6-38 and laterNot affected
RHEL-8 based Middleware ContainersRed Hat
  • 7.6.6-2 and laterNot affected
Single Sign-On 7.6.6Red Hat
    Red Hat Build of KeycloakRed Hat

      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.