ghsa-54f3-c6hg-865h
Vulnerability from github
Published
2023-12-14 18:30
Modified
2023-12-29 00:14
Summary
Allocation of Resources Without Limits in Keycloak
Details

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.

Show details on source website


{
   affected: [
      {
         package: {
            ecosystem: "Maven",
            name: "org.keycloak:keycloak-model-jpa",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "0",
                  },
                  {
                     fixed: "21.0.0",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
   ],
   aliases: [
      "CVE-2023-6563",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-770",
      ],
      github_reviewed: true,
      github_reviewed_at: "2023-12-15T23:17:43Z",
      nvd_published_at: "2023-12-14T18:15:45Z",
      severity: "HIGH",
   },
   details: "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. ",
   id: "GHSA-54f3-c6hg-865h",
   modified: "2023-12-29T00:14:20Z",
   published: "2023-12-14T18:30:22Z",
   references: [
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2023-6563",
      },
      {
         type: "WEB",
         url: "https://github.com/keycloak/keycloak/issues/13340",
      },
      {
         type: "WEB",
         url: "https://github.com/keycloak/keycloak/pull/15463",
      },
      {
         type: "WEB",
         url: "https://github.com/keycloak/keycloak/commit/556146f961f7c8ddf64de15e2117a58d045f72b5",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2023:7854",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2023:7855",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2023:7856",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2023:7857",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/errata/RHSA-2023:7858",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/security/cve/CVE-2023-6563",
      },
      {
         type: "WEB",
         url: "https://bugzilla.redhat.com/show_bug.cgi?id=2253308",
      },
      {
         type: "PACKAGE",
         url: "https://github.com/keycloak/keycloak",
      },
   ],
   schema_version: "1.4.0",
   severity: [
      {
         score: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H",
         type: "CVSS_V3",
      },
   ],
   summary: "Allocation of Resources Without Limits in Keycloak",
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.