CVE-2023-6563
Summary
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.
Impact & exploitability
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Affected products we track (3)
Recommendation
Apply the vendor fix promptly. Open any affected product above for its exact safe version.
Additional information
- NVD record
- https://access.redhat.com/errata/RHSA-2023:7854Advisory
- https://access.redhat.com/errata/RHSA-2023:7855Advisory
- https://access.redhat.com/errata/RHSA-2023:7856Advisory
- https://access.redhat.com/errata/RHSA-2023:7858Advisory
- https://access.redhat.com/security/cve/CVE-2023-6563Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2253308
- https://github.com/keycloak/keycloak/issues/13340
- https://access.redhat.com/errata/RHSA-2023:7857Exploit