{"id":"CVE-2023-6563","published":"2023-12-14T18:01:26Z","modified":"2026-09-22T03:27:59Z","title":"Keycloak: offline session token dos","vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 7","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0125,"percentile":0.70108,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2023:7854","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2023:7855","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2023:7856","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2023:7857","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2023:7858","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-6563","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2253308","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/keycloak/keycloak/issues/13340","tags":[]}],"priority":{"score":19.4,"factors":[{"name":"EPSS percentile","points":14.02},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 7","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7.6 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"RHEL-8 based Middleware Containers","versions":["all versions"]},{"vendor":"Red Hat","product":"RHEL-8 based Middleware Containers","versions":["all versions"]}],"workarounds":{"items":["There are three main options to prevent exploitation: 1) If you are using a reverse proxy, block the consents URL. 2) This option is less effective: remove the consents application tab from the account console theme. 3) This option has a significant negative impact on end users: entirely disable offline user profiles."],"from":"CVE.org CNA","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-model-jpa","vulnerableRanges":["<21.0.0"],"patched":["21.0.0"],"from":["GHSA-54f3-c6hg-865h"],"provenance":"source"}],"summary":{"text":"The flaw is an unconstrained memory consumption vulnerability in the Keycloak component of Red Hat Single Sign-On 7.6 for RHEL 7, where loading offline client sessions has no resource limits. An attacker with low-privilege access who creates two or more user sessions can open the \"consents\" tab of the admin user interface, causing excessive memory and CPU consumption that could crash the system, but only in environments holding very large numbers of offline tokens (over 500,000 users with at least two saved sessions each).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:01Z"},"euvd":{"id":"EUVD-2023-3108","exploited":false,"provenance":"source"}}