CVE-2023-6563Redhat Keycloak
High 7.7
Follow: this CVE · Redhat · Redhat Keycloak We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Keycloak.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| redhat | keycloak | < 21.0.0 |
| redhat | single_sign-on | 7.6 |
| redhat | single_sign-on | all |
| redhat | openshift_container_platform | 4.11 |
| redhat | openshift_container_platform | 4.12 |
| redhat | openshift_container_platform_for_power | 4.9 |
| redhat | openshift_container_platform_for_power | 4.10 |
| redhat | openshift_container_platform_for_ibm_linuxone | 4.9 |
| redhat | openshift_container_platform_for_ibm_linuxone | 4.10 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Exploit
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking
- github.com Issue Tracking