CVE-2025-3501: Keycloak hostname verification
(updated )
A flaw was found in Keycloak. By setting a verification policy to ‘ANY’, the trust store certificate verification is skipped, which is unintended.
References
- access.redhat.com/errata/RHSA-2025:4335
- access.redhat.com/errata/RHSA-2025:4336
- access.redhat.com/security/cve/CVE-2025-3501
- bugzilla.redhat.com/show_bug.cgi?id=2358834
- github.com/advisories/GHSA-hw58-3793-42gg
- github.com/keycloak/keycloak
- github.com/keycloak/keycloak/commit/99ca24c832729075e04d8bc58666089268314272
- github.com/keycloak/keycloak/issues/39350
- github.com/keycloak/keycloak/pull/39366
- github.com/keycloak/keycloak/security/advisories/GHSA-hw58-3793-42gg
- nvd.nist.gov/vuln/detail/CVE-2025-3501
Code Behaviors & Features
Detect and mitigate CVE-2025-3501 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →