Live threats

All CVEs / Redhat

CVE-2023-6563Redhat Keycloak

High 7.7

Priority
46
CVSS 3.1
7.7
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
Yes
Published
Dec 14, 2023
Updated
Sep 22, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-770
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Keycloak.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.keycloak:keycloak-model-jpa < 21.0.0 21.0.0 —

Per OSV / GitHub Advisories (GHSA-54f3-c6hg-865h). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
redhatkeycloak< 21.0.0
redhatsingle_sign-on7.6
redhatsingle_sign-onall
redhatopenshift_container_platform4.11
redhatopenshift_container_platform4.12
redhatopenshift_container_platform_for_power4.9
redhatopenshift_container_platform_for_power4.10
redhatopenshift_container_platform_for_ibm_linuxone4.9
redhatopenshift_container_platform_for_ibm_linuxone4.10

Official sources

References

Links published by the sources. Open them with care.