WaratekVRT Sign in

CVE-2023-6563 Keycloak

Affected softwareKeycloak
Severity7.7 High CVSS 3.1 2 scores
Fixed in21.0.0
WeaknessCWE-770
Published14 Dec 2023
Updated22 Sep 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 2 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 1.2% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: keycloak/keycloak #15463.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://bugzilla.redhat.com/show_bug.cgi?id=2253308 : a Red Hat bug: the triage, which links onward to the fix

CVSS

7.7 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.7 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H secalert@redhat.com Secondary published
CVSS 3.1 7.7 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.keycloak:keycloak-model-jpa 0 21.0.0 unbounded

Products and versions

6 products, 10 version entries
SourceVendorProductSchemeAffected versions
osv org.keycloak keycloak-model-jpa generic < 21.0.0
nvd redhat keycloak generic < 21.0.0
nvd redhat openshift container platform generic 4.11 · 4.12
nvd redhat openshift container platform for ibm linuxone generic 4.9 · 4.10
nvd redhat openshift container platform for power generic 4.9 · 4.10
nvd redhat single sign-on generic any version · 7.6

References

URLTags
https://bugzilla.redhat.com/show_bug.cgi?id=2253308 bugzilla
https://github.com/keycloak/keycloak/issues/13340 WEB
https://github.com/keycloak/keycloak/pull/15463 WEB
https://github.com/keycloak/keycloak/commit/556146f961f7c8ddf64de15e2117a58d045f72b5 WEB
https://access.redhat.com/errata/RHSA-2023:7854 WEB
https://access.redhat.com/errata/RHSA-2023:7855 WEB
https://access.redhat.com/errata/RHSA-2023:7856 WEB
https://access.redhat.com/errata/RHSA-2023:7857 WEB
https://access.redhat.com/errata/RHSA-2023:7858 WEB
https://access.redhat.com/security/cve/CVE-2023-6563 WEB

Timeline

Published2023-12-14By the CVE Program.
NVD record modified2026-09-22NVD's own last-modified date for this record.