{
  "id": "CVE-2025-3501",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-3501",
  "published_at": "2025-04-29T20:45:29.507Z",
  "title": "Org.keycloak.protocol.services: keycloak hostname verification",
  "vendor": "Red Hat",
  "product": "Red Hat Build of Keycloak",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A flaw was found in Keycloak. By setting a verification policy to 'ALL', the trust store certificate verification is skipped, which is unintended.",
  "cwe": "CWE-297",
  "cvss_by_source": {
    "cna": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "",
        "ranges": [
          "\u003e= 25.0.0, \u003c 25.*",
          "\u003e= 26.0.0, \u003c 26.0.11",
          "\u003e= 26.2.0, \u003c 26.2.2"
        ],
        "fixed_in": [
          "25.*",
          "26.0.11",
          "26.2.2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.0",
        "ranges": null,
        "fixed_in": [
          "26.0.11-2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.0",
        "ranges": null,
        "fixed_in": [
          "26.0-12"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.0",
        "ranges": null,
        "fixed_in": [
          "26.0-13"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.2",
        "ranges": null,
        "fixed_in": [
          "26.2.5-1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.2",
        "ranges": null,
        "fixed_in": [
          "26.2-4"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat build of Keycloak 26.2",
        "ranges": null,
        "fixed_in": [
          "26.2-4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade the affected product to 25.* or 26.0.11 or 26.2.2 or later.",
      "Upgrade Red Hat build of Keycloak 26.0 to 26.0.11-2 or later.",
      "Upgrade Red Hat build of Keycloak 26.0 to 26.0-12 or later.",
      "Upgrade Red Hat build of Keycloak 26.0 to 26.0-13 or later.",
      "Upgrade Red Hat build of Keycloak 26.2 to 26.2.5-1 or later.",
      "Upgrade Red Hat build of Keycloak 26.2 to 26.2-4 or later.",
      "Upgrade Red Hat build of Keycloak 26.2 to 26.2-4 or later."
    ],
    "workarounds": [
      "Use the correct TLS configuration and avoid using \"--tls-hostname-verifier=any\"."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:4335"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:4336"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:8672"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:8690"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/keycloak/keycloak/pull/39366"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
