CVE-2023-6563
HIGH7.7EPSS 0.54%Allocation of Resources Without Limits in Keycloak
Published: 12/14/2023Modified: 2/16/2024
Also known as:GHSA-54f3-c6hg-865h
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.
Affected packages (1)
- Maven/org.keycloak:keycloak-model-jpafrom 0, < 21.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H |
References (12)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-6563
- PATCHhttps://github.com/keycloak/keycloak
- WEBhttps://access.redhat.com/errata/RHSA-2023:7854
- WEBhttps://access.redhat.com/errata/RHSA-2023:7855
- WEBhttps://access.redhat.com/errata/RHSA-2023:7856
- WEBhttps://access.redhat.com/errata/RHSA-2023:7857
- WEBhttps://access.redhat.com/errata/RHSA-2023:7858
- WEBhttps://access.redhat.com/security/cve/CVE-2023-6563
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=2253308
- WEBhttps://github.com/keycloak/keycloak/commit/556146f961f7c8ddf64de15e2117a58d045f72b5
- WEBhttps://github.com/keycloak/keycloak/issues/13340
- WEBhttps://github.com/keycloak/keycloak/pull/15463