CVSS 3.1
7.7 highCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:LHigh (7.7). EPSS 2.0% estimated probability of exploitation activity in the next 30 days. Fixed in org.keycloak:keycloak-saml-core 22.0.13, 24.0.8, 25.0.6.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:Lorg.keycloak:keycloak-saml-core (Maven): fixed in 22.0.13, 24.0.8, 25.0.6Explain CVE-2024-8698 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-8698?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-8698?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-8698 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Fixed in |
|---|---|
| Red Hat build of Keycloak 22 | 22.0.13-1 |
| Red Hat build of Keycloak 22 | 22-18 |
| Red Hat build of Keycloak 22 | 22-21 |
| Red Hat build of Keycloak 24 | 24.0.8-1 |
| Red Hat build of Keycloak 24 | 24-17 |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:2.33.0-1.redhat_00015.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 1:2.0.0-2.redhat_00005.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:1.8.0-2.redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:2.2.0-2.redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:1.16.1-2.redhat_00007.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:3.2.2-28.redhat_2.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:2.15.1-1.redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:3.14.0-2.redhat_00006.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:4.0.5-1.redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:2.0.1-1.redhat_00002.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:0.1.0-2.redhat_00010.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:1.12.284-2.redhat_00002.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:1.2.5-2.redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:800.4.0-1.GA_redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:2.1.0-4.redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:6.2.31-1.Final_redhat_00002.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:8.0.1-3.Final_redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:0.8.1-2.redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:1.1.3-1.redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:3.0.1-1.redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:3.5.3-1.Final_redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:4.0.2-1.redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:5.3.10-1.Final_redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:2.22.1-1.redhat_00002.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:6.0.3-1.Final_redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:9.37.3-1.redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:9.6.0-1.redhat_00002.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:2.3.0-1.redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:2.0.1-3.Final_redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:3.0.1-2.Final_redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:3.0.4-1.redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:8.0.0-6.redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:2.0.16-1.redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:2.2.0-1.redhat_00001.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | 0:8.0.4-2.GA_redhat_00005.1.el8eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:2.33.0-1.redhat_00015.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 1:2.0.0-2.redhat_00005.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:1.8.0-2.redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:2.2.0-2.redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:1.16.1-2.redhat_00007.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:3.2.2-28.redhat_2.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:2.15.1-1.redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:3.14.0-2.redhat_00006.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:4.0.5-1.redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:2.0.1-1.redhat_00002.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:0.1.0-2.redhat_00010.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:1.12.284-2.redhat_00002.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:1.2.5-2.redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:800.4.0-1.GA_redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:2.1.0-4.redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:6.2.31-1.Final_redhat_00002.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:8.0.1-3.Final_redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:0.8.1-2.redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:1.1.3-1.redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:3.0.1-1.redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:3.5.3-1.Final_redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:4.0.2-1.redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:5.3.10-1.Final_redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:2.22.1-1.redhat_00002.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:6.0.3-1.Final_redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:9.37.3-1.redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:9.6.0-1.redhat_00002.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:2.3.0-1.redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:2.0.1-3.Final_redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:3.0.1-2.Final_redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:3.0.4-1.redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:8.0.0-6.redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:2.0.16-1.redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:2.2.0-1.redhat_00001.1.el9eap |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | 0:8.0.4-2.GA_redhat_00005.1.el9eap |
| Red Hat Single Sign-On 7.6 for RHEL 7 | 0:18.0.18-1.redhat_00001.1.el7sso |
| Red Hat Single Sign-On 7.6 for RHEL 8 | 0:18.0.18-1.redhat_00001.1.el8sso |
| Red Hat Single Sign-On 7.6 for RHEL 9 | 0:18.0.18-1.redhat_00001.1.el9sso |
| Red Hat RHEL-8 based Middleware Containers | 7.6-54 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-xgfv-xpx8-qhcr | Maven | org.keycloak:keycloak-saml-core | <22.0.13 | 22.0.13 |
| GHSA-xgfv-xpx8-qhcr | Maven | org.keycloak:keycloak-saml-core | >=23.0.0 <24.0.8 | 24.0.8 |
| GHSA-xgfv-xpx8-qhcr | Maven | org.keycloak:keycloak-saml-core | >=25.0.0 <25.0.6 | 25.0.6 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Red Hat | jboss_enterprise_application_platform:8.0::el8 | eap8-activemq-artemis, eap8-activemq-artemis-cli, eap8-activemq-artemis-dto and 12 more | 0:2.33.0-1.redhat_00015.1.el8eap | RHSA-2024:8823 |
| Red Hat | jboss_enterprise_application_platform:8.0::el8 | eap8-aesh-extensions | 0:1.8.0-2.redhat_00001.1.el8eap | RHSA-2024:8823 |
| Red Hat | jboss_enterprise_application_platform:8.0::el8 | eap8-aesh-readline | 0:2.2.0-2.redhat_00001.1.el8eap | RHSA-2024:8823 |
| Red Hat | jboss_enterprise_application_platform:8.0::el8 | eap8-apache-commons-codec | 0:1.16.1-2.redhat_00007.1.el8eap | RHSA-2024:8823 |
| Red Hat | jboss_enterprise_application_platform:8.0::el8 | eap8-apache-commons-collections | 0:3.2.2-28.redhat_2.1.el8eap | RHSA-2024:8823 |
| Red Hat | jboss_enterprise_application_platform:8.0::el8 | eap8-apache-commons-io | 0:2.15.1-1.redhat_00001.1.el8eap | RHSA-2024:8823 |
| Red Hat | jboss_enterprise_application_platform:8.0::el8 | eap8-apache-commons-lang | 0:3.14.0-2.redhat_00006.1.el8eap | RHSA-2024:8823 |
| Red Hat | jboss_enterprise_application_platform:8.0::el8 | eap8-apache-cxf, eap8-apache-cxf-rt, eap8-apache-cxf-tools and 1 more | 0:4.0.5-1.redhat_00001.1.el8eap | RHSA-2024:8823 |
| Red Hat | jboss_enterprise_application_platform:8.0::el8 | eap8-artemis-native, eap8-artemis-native-wildfly, eap8-activemq-artemis-native | 1:2.0.0-2.redhat_00005.1.el8eap | RHSA-2024:8823 |
| Red Hat | jboss_enterprise_application_platform:8.0::el8 | eap8-artemis-wildfly-integration | 0:2.0.1-1.redhat_00002.1.el8eap | RHSA-2024:8823 |
| Red Hat | jboss_enterprise_application_platform:8.0::el8 | eap8-asyncutil | 0:0.1.0-2.redhat_00010.1.el8eap | RHSA-2024:8823 |
| Red Hat | jboss_enterprise_application_platform:8.0::el8 | eap8-aws-java-sdk, eap8-jmespath-java, eap8-aws-java-sdk-s3 and 2 more | 0:1.12.284-2.redhat_00002.1.el8eap | RHSA-2024:8823 |
| 61 more for Red Hat in the JSON and on Red Hat's page. | ||||
From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.
Red Hat rates this Important.
This vulnerability is of high severity due to its potential to facilitate privilege escalation and user impersonation in systems using SAML for authentication. The core issue stems from improper validation logic in Keycloak's signature validation method, which relies on the position of signatures rather than explicitly checking the referenced elements. By manipulating the XML structure, an attacker can bypass signature validation and inject an unsigned assertion while retaining a valid signed one. This allows unauthorized access to high-privileged accounts, leading to significant security risks in SAML-based identity providers and service providers.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Build of Keycloak | Fixed 2024-09-19 | RHSA-2024:6888 | |
| Red Hat Build of Keycloak | keycloak-saml-core | Fixed 2024-09-19 | RHSA-2024:6890 |
| Red Hat build of Keycloak 22 | rhbk/keycloak-operator-bundle:22.0.13-1 | Fixed 2024-09-19 | RHSA-2024:6887 |
| Red Hat build of Keycloak 22 | rhbk/keycloak-rhel9:22-18 | Fixed 2024-09-19 | RHSA-2024:6887 |
| Red Hat build of Keycloak 22 | rhbk/keycloak-rhel9-operator:22-21 | Fixed 2024-09-19 | RHSA-2024:6887 |
| Red Hat build of Keycloak 24 | rhbk/keycloak-operator-bundle:24.0.8-1 | Fixed 2024-09-19 | RHSA-2024:6889 |
| Red Hat build of Keycloak 24 | rhbk/keycloak-rhel9:24-17 | Fixed 2024-09-19 | RHSA-2024:6889 |
| Red Hat build of Keycloak 24 | rhbk/keycloak-rhel9-operator:24-17 | Fixed 2024-09-19 | RHSA-2024:6889 |
| Red Hat JBoss Enterprise Application Platform 8 | keycloak-saml-core-public | Fixed 2024-11-04 | RHSA-2024:8826 |
| Red Hat JBoss Enterprise Application Platform 8 | org.keycloak-keycloak-parent | Fixed 2024-11-04 | RHSA-2024:8826 |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | eap8-activemq-artemis-0:2.33.0-1.redhat_00015.1.el8eap | Fixed 2024-11-04 | RHSA-2024:8823 |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | eap8-activemq-artemis-native-1:2.0.0-2.redhat_00005.1.el8eap | Fixed 2024-11-04 | RHSA-2024:8823 |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | eap8-aesh-extensions-0:1.8.0-2.redhat_00001.1.el8eap | Fixed 2024-11-04 | RHSA-2024:8823 |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | eap8-aesh-readline-0:2.2.0-2.redhat_00001.1.el8eap | Fixed 2024-11-04 | RHSA-2024:8823 |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | eap8-apache-commons-codec-0:1.16.1-2.redhat_00007.1.el8eap | Fixed 2024-11-04 | RHSA-2024:8823 |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | eap8-apache-commons-collections-0:3.2.2-28.redhat_2.1.el8eap | Fixed 2024-11-04 | RHSA-2024:8823 |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | eap8-apache-commons-io-0:2.15.1-1.redhat_00001.1.el8eap | Fixed 2024-11-04 | RHSA-2024:8823 |
| Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | eap8-apache-commons-lang-0:3.14.0-2.redhat_00006.1.el8eap | Fixed 2024-11-04 | RHSA-2024:8823 |
| Red Hat Build of Keycloak | keycloak-saml-core-public | Affected | |
| Red Hat Single Sign-On 7 | keycloak-saml-core-public | Affected | |
| 71 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-8698.
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.