Description
A flaw was found in Keycloak. By setting a verification policy to 'ALL', the trust store certificate verification is skipped, which is unintended.
Problem types
Improper Validation of Certificate with Host Mismatch
Product status
25.0.0 (semver) before 25.*
26.0.0 (semver) before 26.0.11
26.1.0 (semver) before 26.1.*
26.2.0 (semver) before 26.2.2
26.0.11-2 (rpm) before *
26.0-12 (rpm) before *
26.0-13 (rpm) before *
26.2.5-1 (rpm) before *
26.2-4 (rpm) before *
26.2-4 (rpm) before *
Timeline
| 2025-04-10: | Reported to Red Hat. |
| 2025-04-29: | Made public. |
References
access.redhat.com/errata/RHSA-2025:4335 (RHSA-2025:4335)
access.redhat.com/errata/RHSA-2025:4336 (RHSA-2025:4336)
access.redhat.com/errata/RHSA-2025:8672 (RHSA-2025:8672)
access.redhat.com/errata/RHSA-2025:8690 (RHSA-2025:8690)
access.redhat.com/security/cve/CVE-2025-3501
bugzilla.redhat.com/show_bug.cgi?id=2358834 (RHBZ#2358834)
github.com/keycloak/keycloak/issues/39350
github.com/keycloak/keycloak/pull/39366