Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Redhat | Keycloak | < 21.0.0 |
| Redhat | Single Sign-On | 7.6 |
| Redhat | Enterprise Linux | 7.0 |
| Redhat | Openshift Container Platform | 4.11 |
| Redhat | Openshift Container Platform For Power | 4.9 |
| Redhat | Openshift Container Platform For Ibm Linuxone | 4.9 |
Related Weaknesses (CWE)
References
- https://access.redhat.com/errata/RHSA-2023:7854Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:7855Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:7856Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:7857Exploit
- https://access.redhat.com/errata/RHSA-2023:7858Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2023-6563Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2253308Issue Tracking
- https://github.com/keycloak/keycloak/issues/13340Issue Tracking
- https://access.redhat.com/errata/RHSA-2023:7854Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:7855Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:7856Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:7857Exploit
- https://access.redhat.com/errata/RHSA-2023:7858Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2023-6563Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2253308Issue Tracking
FAQ
What is CVE-2023-6563?
CVE-2023-6563 is a vulnerability with a CVSS score of 7.7 (HIGH). 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 sav...
How severe is CVE-2023-6563?
CVE-2023-6563 has been rated HIGH with a CVSS base score of 7.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-6563?
Check the references section above for vendor advisories and patch information. Affected products include: Redhat Keycloak, Redhat Single Sign-On, Redhat Enterprise Linux, Redhat Openshift Container Platform, Redhat Openshift Container Platform For Power.