Skip to content
Fencer Vulns
high 7.4

CVE-2024-1249 json

Keycloak: org.keycloak.protocol.oidc: unvalidated cross-origin messages in checkloginiframe leads to ddos

published 2024-04-17 2 y ago modified 2026-11-04 4 d ago also GHSA-m6q9-p373-g5q8 , EUVD-2024-1243

cvss
7.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 39%
public exploits
0
none known

Summary

A flaw was found in Keycloak's OIDC component in the "checkLoginIframe," which allows unvalidated cross-origin messages. This flaw allows attackers to coordinate and send millions of requests in seconds using simple code, significantly impacting the application's availability without proper origin validation for incoming messages.

Patch / fix

  • maven org.keycloak:keycloak-services 22.0.10, 24.0.3
  • Red Hat Red Hat build of Keycloak 22 22-13, 22-16, 22.0.10-1
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 7 0:18.0.13-1.redhat_00001.1.el7sso
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 8 0:18.0.13-1.redhat_00001.1.el8sso
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 9 0:18.0.13-1.redhat_00001.1.el9sso
  • Red Hat RHEL-8 based Middleware Containers 7.6-46
  • Red Hat RHOSS-1.33-RHEL-8 1.33.0-3, 1.33.0-5
  • rh-sso7-keycloak red hat single sign on 7.6 18.0.13-1.redhat_00001.1.el8sso
  • rh-sso7-keycloak-server red hat single sign on 7.6 18.0.13-1.redhat_00001.1.el8sso
  • rh-sso7-keycloak red hat single sign on 7.6 18.0.13-1.redhat_00001.1.el7sso
  • rh-sso7-keycloak-server red hat single sign on 7.6 18.0.13-1.redhat_00001.1.el7sso
  • rh-sso7-keycloak red hat single sign on 7.6 18.0.13-1.redhat_00001.1.el9sso
  • rh-sso7-keycloak-server red hat single sign on 7.6 18.0.13-1.redhat_00001.1.el9sso

red hat advisories RHSA-2024:1861RHSA-2024:1860RHSA-2024:1862

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-1249 updated cvss 7.4

keycloak: org.keycloak.protocol.oidc: unvalidated cross-origin messages in checkLoginIframe leads to DDoS

  • Red Hat Migration Toolkit for Applications 6 mta/mta-ui-rhel8
    affected: workaround, no fix planned “Will not fix”
  • Red Hat build of Apicurio Registry 2 keycloak keycloak Red Hat Decision Manager 7 keycloak keycloak
    affected: workaround, no fix available
  • Red Hat JBoss Enterprise Application Platform 6 keycloak keycloak, rh-sso7-keycloak rh-sso7-keycloak, keycloak-adapter-eap6 keycloak-adapter-eap6, keycloak-adapter-sso7_2-eap6 keycloak-adapter-sso7_2-eap6, keycloak-adapter-sso7_3-eap6 keycloak-adapter-sso7_3-eap6, keycloak-adapter-sso7_4-eap6 keycloak-adapter-sso7_4-eap6, +2 more
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat JBoss Enterprise Application Platform 7 keycloak-core
    affected: workaround, no fix available
  • Red Hat Process Automation 7 keycloak keycloak
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8 7.6-46
    fixed: vendor fix RHSA-2024:1864
  • Red Hat AMQ Broker 7
    fixed: vendor fix RHSA-2024:2945
  • Red Hat build of Keycloak 22 rhbk/keycloak-rhel9 22-13, rhbk/keycloak-rhel9-operator 22-16, rhbk/keycloak-operator-bundle 22.0.10-1
    fixed: vendor fix RHSA-2024:1867
show 7 more
  • Red Hat build of Keycloak 22.0.10
    fixed: vendor fix RHSA-2024:1868
  • Red Hat OpenShift Serverless 1.33 openshift-serverless-1/logic-rhel8-operator 1.33.0-3, openshift-serverless-1/logic-operator-bundle 1.33.0-5, openshift-serverless-1/logic-swf-builder-rhel8 1.33.0-5, openshift-serverless-1/logic-swf-devmode-rhel8 1.33.0-5, openshift-serverless-1/logic-data-index-ephemeral-rhel8 1.33.0-5, openshift-serverless-1/logic-data-index-postgresql-rhel8 1.33.0-5, +3 more
    fixed: vendor fix RHSA-2024:4057
  • Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak 18.0.13-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server 18.0.13-1.redhat_00001.1.el7sso
    fixed: vendor fix RHSA-2024:1860
  • Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak 18.0.13-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server 18.0.13-1.redhat_00001.1.el8sso
    fixed: vendor fix RHSA-2024:1861
  • Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak 18.0.13-1.redhat_00001.1.el9sso, rh-sso7-keycloak-server 18.0.13-1.redhat_00001.1.el9sso
    fixed: vendor fix RHSA-2024:1862
  • Red Hat RHSSO 7.6.8
    fixed: vendor fix RHSA-2024:1866
  • Red Hat Migration Toolkit for Applications 7 mta/mta-ui-rhel8 Red Hat Data Grid 8 keycloak keycloak Red Hat Developer Hub 1 rhdh/rhdh-hub-rhel9 Red Hat Fuse 7 keycloak keycloak Red Hat JBoss Data Grid 7 keycloak keycloak Red Hat JBoss Enterprise Application Platform 8 keycloak-core
    +2 more products
    Red Hat JBoss Enterprise Application Platform Expansion Pack keycloak keycloak Red Hat streams for Apache Kafka keycloak keycloak
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H
GitHub 3.1 7.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
maven org.keycloak:keycloak-services
<22.0.10
>=23.0.0, <24.0.3
22.0.10
24.0.3

Affected products

  • Red Hat Red Hat AMQ Broker 7
  • Red Hat Red Hat build of Keycloak 22
  • Red Hat Red Hat build of Keycloak 22.0.10
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 7
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 8
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 9
  • Red Hat RHEL-8 based Middleware Containers
  • Red Hat RHOSS-1.33-RHEL-8
  • Red Hat RHSSO 7.6.8
  • Red Hat Migration Toolkit for Applications 6
  • Red Hat Migration Toolkit for Applications 7
  • Red Hat Red Hat build of Apicurio Registry 2
  • Red Hat Red Hat Data Grid 8
  • Red Hat Red Hat Decision Manager 7
  • Red Hat Red Hat Developer Hub 1
  • Red Hat Red Hat Fuse 7
  • Red Hat Red Hat JBoss Data Grid 7
  • Red Hat Red Hat JBoss Enterprise Application Platform 6
  • Red Hat Red Hat JBoss Enterprise Application Platform 7
  • Red Hat Red Hat JBoss Enterprise Application Platform 8
  • Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack
  • Red Hat Red Hat Process Automation 7
  • Red Hat streams for Apache Kafka

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.