CVE-2024-8698Red Hat Build of Keycloak
High 7.7
Follow: this CVE · Red Hat · Red Hat Build of Keycloak We alert you by email or Slack (account required).
- Priority
- 46
- CVSS 3.1
- 7.7
- EPSS
- 2.2% probability of exploitation in 30 days · percentile 84
- Auth required
- Yes
- Published
- Sep 19, 2024
- Updated
- Aug 4, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-347
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L
What happens
A flaw exists in the SAML signature validation method within the Keycloak XMLSignatureUtil class. The method incorrectly determines whether a SAML signature is for the full document or only for specific assertions based on the position of the signature in the XML document, rather than the Reference element used to specify the signed element. This flaw allows attackers to create crafted responses that can bypass the validation, potentially leading to privilege escalation or impersonation attacks.
What to do
- Apply the vendor's security update for Red Hat Build of Keycloak.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-saml-core |
< 22.0.13 |
22.0.13 |
— |
| Maven | org.keycloak:keycloak-saml-core |
≥ 23.0.0 < 24.0.8 |
24.0.8 |
— |
| Maven | org.keycloak:keycloak-saml-core |
≥ 25.0.0 < 25.0.6 |
25.0.6 |
— |
Per OSV / GitHub Advisories (GHSA-xgfv-xpx8-qhcr). Check the version in your lockfile before upgrading.
Affected products
- Red Hat · Red Hat Build of Keycloak
- Red Hat · Red Hat build of Keycloak 22
- Red Hat · Red Hat build of Keycloak 24
- Red Hat · Red Hat JBoss Enterprise Application Platform 8
- Red Hat · Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
- Red Hat · Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
- Red Hat · Red Hat Single Sign-On 7
- 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
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.0.4 Security update · Red Hat · RHSA-2024:8823 · Aug 5, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.