CVE-2023-6563
HIGH 7.7CVSS 3.1Allocation of Resources Without Limits in Keycloak
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.
- Published
- 14 Dec 2023
- Last modified
- 22 Sep 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-770
- Also known as
- GHSA-54f3-c6hg-865h
- Sources
- NVDJSONOSV GHSA-54f3-c6hg-865hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | keycloakcpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:* |
< 21.0.0 | 21.0.0 |
| NVD | redhat | single_sign-oncpe:2.3:a:redhat:single_sign-on:7.6:*:*:*:*:*:*:* |
= 7.6 | |
| NVD | redhat | single_sign-oncpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:* |
(no version) | |
| NVD | redhat | openshift_container_platformcpe:2.3:a:redhat:openshift_container_platform:4.11:*:*:*:*:*:*:* |
= 4.11 | |
| NVD | redhat | openshift_container_platformcpe:2.3:a:redhat:openshift_container_platform:4.12:*:*:*:*:*:*:* |
= 4.12 | |
| NVD | redhat | openshift_container_platform_for_powercpe:2.3:a:redhat:openshift_container_platform_for_power:4.9:*:*:*:*:*:*:* |
= 4.9 | |
| NVD | redhat | openshift_container_platform_for_powercpe:2.3:a:redhat:openshift_container_platform_for_power:4.10:*:*:*:*:*:*:* |
= 4.10 | |
| NVD | redhat | openshift_container_platform_for_ibm_linuxonecpe:2.3:a:redhat:openshift_container_platform_for_ibm_linuxone:4.9:*:*:*:*:*:*:* |
= 4.9 | |
| NVD | redhat | openshift_container_platform_for_ibm_linuxonecpe:2.3:a:redhat:openshift_container_platform_for_ibm_linuxone:4.10:*:*:*:*:*:*:* |
= 4.10 | |
| OSV | Maven | org.keycloak:keycloak-model-jpa | < 21.0.0 | 21.0.0 |
References
- https://access.redhat.com/errata/RHSA-2023:7854 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2023:7855 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2023:7856 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2023:7857 · Exploit, WEB
- https://access.redhat.com/errata/RHSA-2023:7858 · Vendor Advisory, WEB
- https://access.redhat.com/security/cve/CVE-2023-6563 · Vendor Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2253308 · Issue Tracking, WEB
- https://github.com/keycloak/keycloak/issues/13340 · Issue Tracking, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-6563 · ADVISORY
- https://github.com/keycloak/keycloak/pull/15463 · WEB
- https://github.com/keycloak/keycloak/commit/556146f961f7c8ddf64de15e2117a58d045f72b5 · WEB
- https://github.com/keycloak/keycloak · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 14 Dec 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 Dec 2023)