CVE-2024-8698: Red Hat Build Of Keycloak

High severity, CVSS 7.7. EPSS: 2.2% probability of exploitation activity in the next 30 days.

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

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Red Hat Build Of Keycloak 22, before 22.0.13-1: fixed in 22.0.13-1
  • Red Hat Build Of Keycloak 22, before 22-18: fixed in 22-18
  • Red Hat Build Of Keycloak 22, before 22-21: fixed in 22-21
  • Red Hat Build Of Keycloak 24, before 24.0.8-1: fixed in 24.0.8-1
  • Red Hat Build Of Keycloak 24, before 24-17: fixed in 24-17
  • Red Hat JBoss Enterprise Application Platform 8.0 For Rhel 8, before 0:2.33.0-1.redhat_00015.1.el8eap: fixed in 0:2.33.0-1.redhat_00015.1.el8eap
  • Red Hat JBoss Enterprise Application Platform 8.0 For Rhel 8, before 1:2.0.0-2.redhat_00005.1.el8eap: fixed in 1:2.0.0-2.redhat_00005.1.el8eap
  • Red Hat JBoss Enterprise Application Platform 8.0 For Rhel 8, before 0:1.8.0-2.redhat_00001.1.el8eap: fixed in 0:1.8.0-2.redhat_00001.1.el8eap
  • Red Hat JBoss Enterprise Application Platform 8.0 For Rhel 8, before 0:2.2.0-2.redhat_00001.1.el8eap: fixed in 0:2.2.0-2.redhat_00001.1.el8eap
  • Red Hat JBoss Enterprise Application Platform 8.0 For Rhel 8, before 0:1.16.1-2.redhat_00007.1.el8eap: fixed in 0:1.16.1-2.redhat_00007.1.el8eap
  • and 69 more

Affected products

Affected packages

Published 2024-09-19. Last modified 2026-08-04.