7.7
CWE
770
EPSS
0.092%
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2023-6563: Keycloak: offline session token dos

First published: Wed Dec 06 2023(Updated: )

A vulnerability has been discovered in the way RH-SSO handles offline tokens, which can be exploited to cause a denial of service via memory exhaustion. The issue is caused by the way how the server processes offline tokens. An attacker can exploit this vulnerability by creating just two offline tokens. Once these tokens are created, the attacker can interact with the endpoint by triggering a list of the multiple sessions of the user. In environments where there could be potentially millions of offline tokens created by all users, this action leads to an excessive consumption of server memory.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
maven/org.keycloak:keycloak-model-jpa<21.0.0
21.0.0
redhat/keycloak<21.0.0
21.0.0
Red Hat Keycloak<21.0.0
All of
redhat single sign-on=7.6
Any of
Red Hat Enterprise Linux=7.0
Red Hat Enterprise Linux=8.0
Red Hat Enterprise Linux=9.0
redhat single sign-on
All of
Any of
redhat openshift container platform=4.11
redhat openshift container platform=4.12
Red Hat Enterprise Linux=8.0
All of
Any of
Red Hat OpenShift Container Platform for Power=4.9
Red Hat OpenShift Container Platform for Power=4.10
Red Hat Enterprise Linux=8.0
All of
Any of
Red Hat OpenShift Container Platform for IBM LinuxONE=4.9
Red Hat OpenShift Container Platform for IBM LinuxONE=4.10
Red Hat Enterprise Linux=8.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2023-6563?

    CVE-2023-6563 is classified as a high-severity vulnerability due to its potential for causing denial of service through memory exhaustion.

  • How do I fix CVE-2023-6563?

    To mitigate CVE-2023-6563, upgrade to the fixed versions, specifically keycloak and keycloak-model-jpa at version 21.0.0 or higher.

  • What products are affected by CVE-2023-6563?

    CVE-2023-6563 affects Red Hat Single Sign-On versions up to 7.6 and Keycloak versions up to 21.0.0.

  • Can CVE-2023-6563 be exploited remotely?

    Yes, CVE-2023-6563 can be exploited remotely if an attacker sends crafted requests targeting offline tokens.

  • What impact does CVE-2023-6563 have on my system?

    Exploitation of CVE-2023-6563 may lead to a denial of service, causing system instability and performance degradation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203