cve.bz

CVE-2024-8698

7.7 highEPSS 2.0%

High (7.7). EPSS 2.0% chance of exploitation in the next 30 days. Fixed in org.keycloak:keycloak-saml-core 22.0.13, 24.0.8, 25.0.6.

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.

Severity

CVSS 3.1

7.7 high
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L
EPSS
2.0% chance of exploitation in the next 30 days; higher than 81% of CVEs (scores of 2026-10-31)
CWE
CWE-347
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xgfv-xpx8-qhcrMavenorg.keycloak:keycloak-saml-core<22.0.1322.0.13
GHSA-xgfv-xpx8-qhcrMavenorg.keycloak:keycloak-saml-core>=23.0.0 <24.0.824.0.8
GHSA-xgfv-xpx8-qhcrMavenorg.keycloak:keycloak-saml-core>=25.0.0 <25.0.625.0.6

References

Check your stackJSON