High severity · published Dec 14, 2023
CVE-2023-6563
An unconstrained memory consumption vulnerability was discovered in Keycloak
7.7
CVSS
1.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)1.2% · higher than 69% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Keycloak · Redhat
before 21.0.0 · source: NVD
OC
SS
Single Sign-on · Redhat
7.6 · source: NVD
Affected product
KE
Keycloak
Redhat
More from Keycloak
9.8
CVE-2022-1245
A privilege escalation flaw was found in the token exchange feature of keycloak
9.8
CVE-2019-14910
A vulnerability was found in keycloak 7.x, when keycloak is configured with LDAP user federation and StartTLS is used instead of SSL/TLS from the LDAP server (ldaps), in this case…
9.6
CVE-2021-20195
A flaw was found in keycloak in versions before 13.0.0
9.1
CVE-2022-3782
keycloak: path traversal via double URL encoding
9.1
CVE-2019-14837
A flaw was found in keycloack before version 8.0.0