Skip to content
Heist/ feed
Back to feed
High

Org.keycloak.protocol.services: keycloak hostname verification

Type: advisorySources: OSV

A flaw was found in Keycloak. By setting a verification policy to 'ALL', the trust store certificate verification is skipped, which is unintended.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-3501
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:48 UTC · Revision 1

Source evidence

Org.keycloak.protocol.services: keycloak hostname verification

core-osv · Original source

Published 29 Apr 2025, 20:45 UTC

A flaw was found in Keycloak. By setting a verification policy to 'ALL', the trust store certificate verification is skipped, which is unintended.

osv:CVE-2025-3501
Complete source record
{
  "id": "8d9d6712a20511dfa9c7f06720798808eac230039594017a36097dce3a76ff92",
  "url": "https://osv.dev/vulnerability/CVE-2025-3501",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Org.keycloak.protocol.services: keycloak hostname verification",
    "summary": "A flaw was found in Keycloak. By setting a verification policy to 'ALL', the trust store certificate verification is skipped, which is unintended.",
    "evidence": "osv:CVE-2025-3501",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-3501",
      "aliases": [
        "CVE-2025-3501",
        "GHSA-hw58-3793-42gg"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/keycloak/keycloak",
              "type": "GIT",
              "events": [
                {
                  "introduced": "632f214aa2d668e8b59920c3dfcc449da68254a4"
                },
                {
                  "fixed": "7dca54e8dc0dbe23995e260c989c9ef2e9023a94"
                },
                {
                  "introduced": "4cb4d2d06ed17e3a8bd928f472d3f9e4d1adea1d"
                },
                {
                  "fixed": "2ca2ea87b7db283111ebdd6c6132ad76d5b22c78"
                },
                {
                  "introduced": "0"
                },
                {
                  "fixed": "68119d4c99b96b167da9beadb994101ff0c4a899"
                },
                {
                  "fixed": "ba2566fe5fe30d868eceaaf209314d2ff4dcd4b6"
                },
                {
                  "fixed": "39a17c56f4ae8c77a17814815f73a1c3c2dbf6e7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "26.0.0"
                      },
                      {
                        "fixed": "26.0.11"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "26.2.0"
                      },
                      {
                        "fixed": "26.2.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "26.0-12"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "InverseAffectedRanges"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "26.0-13"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "InverseAffectedRanges"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "26.2-4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "InverseAffectedRanges"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.4.0.Test",
            "1.3.0.Final",
            "1.1.0.Beta2",
            "1.0.0.Final",
            "1.0-final",
            "1.0-rc-1",
            "1.0-beta-4",
            "1.0-beta-2",
            "1.0-beta-1",
            "1.0-alpha-3",
            "1.0-alpha-2",
            "1.0-alpha-1",
            "1.0-alpha-1-12062013"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-3501.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.813733324Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/downloads/content/package-browser/",
        "https://catalog.redhat.com/software/containers/",
        "https://www.keycloak.org/",
        "https://access.redhat.com/errata/RHSA-2025:4335",
        "https://access.redhat.com/errata/RHSA-2025:4336",
        "https://access.redhat.com/errata/RHSA-2025:8672",
        "https://access.redhat.com/errata/RHSA-2025:8690",
        "https://access.redhat.com/security/cve/CVE-2025-3501",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/3xxx/CVE-2025-3501.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-3501",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2358834",
        "https://github.com/keycloak/keycloak/issues/39350",
        "https://github.com/keycloak/keycloak/pull/39366"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-297"
        ],
        "cna_assigner": "redhat",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "26.0.11-2"
                  },
                  {
                    "fixed": "26.2.5-1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "InverseAffectedRanges"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "25.0.0"
                  },
                  {
                    "fixed": "25.*"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/3xxx/CVE-2025-3501.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-3501",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503308,
  "published_at": "2025-04-29T20:45:29.507+00:00"
}