{
  "threat_severity" : "Important",
  "public_date" : "2025-04-29T00:00:00Z",
  "bugzilla" : {
    "description" : "org.keycloak.protocol.services: Keycloak hostname verification",
    "id" : "2358834",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2358834"
  },
  "cvss3" : {
    "cvss3_base_score" : "8.2",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N",
    "status" : "verified"
  },
  "cwe" : "CWE-297",
  "details" : [ "A flaw was found in Keycloak. By setting a verification policy to 'ALL', the trust store certificate verification is skipped, which is unintended.", "A flaw was found in Keycloak. By setting a verification policy to 'ALL', the trust store certificate verification is skipped, which is unintended." ],
  "statement" : "Red Hat has rated this as an Important severity, although this configuration is not recommended, especially in production environments.",
  "affected_release" : [ {
    "product_name" : "Red Hat Build of Keycloak",
    "release_date" : "2025-04-29T00:00:00Z",
    "advisory" : "RHSA-2025:4336",
    "cpe" : "cpe:/a:redhat:build_keycloak:26",
    "package" : "keycloak"
  }, {
    "product_name" : "Red Hat build of Keycloak 26",
    "release_date" : "2025-06-09T00:00:00Z",
    "advisory" : "RHSA-2025:8690",
    "cpe" : "cpe:/a:redhat:build_keycloak:26"
  }, {
    "product_name" : "Red Hat build of Keycloak 26.0",
    "release_date" : "2025-04-29T00:00:00Z",
    "advisory" : "RHSA-2025:4335",
    "cpe" : "cpe:/a:redhat:build_keycloak:26.0::el9",
    "package" : "rhbk/keycloak-operator-bundle:26.0.11-2"
  }, {
    "product_name" : "Red Hat build of Keycloak 26.0",
    "release_date" : "2025-04-29T00:00:00Z",
    "advisory" : "RHSA-2025:4335",
    "cpe" : "cpe:/a:redhat:build_keycloak:26.0::el9",
    "package" : "rhbk/keycloak-rhel9:26.0-12"
  }, {
    "product_name" : "Red Hat build of Keycloak 26.0",
    "release_date" : "2025-04-29T00:00:00Z",
    "advisory" : "RHSA-2025:4335",
    "cpe" : "cpe:/a:redhat:build_keycloak:26.0::el9",
    "package" : "rhbk/keycloak-rhel9-operator:26.0-13"
  }, {
    "product_name" : "Red Hat build of Keycloak 26.2",
    "release_date" : "2025-06-09T00:00:00Z",
    "advisory" : "RHSA-2025:8672",
    "cpe" : "cpe:/a:redhat:build_keycloak:26.2::el9",
    "package" : "rhbk/keycloak-operator-bundle:26.2.5-1"
  }, {
    "product_name" : "Red Hat build of Keycloak 26.2",
    "release_date" : "2025-06-09T00:00:00Z",
    "advisory" : "RHSA-2025:8672",
    "cpe" : "cpe:/a:redhat:build_keycloak:26.2::el9",
    "package" : "rhbk/keycloak-rhel9:26.2-4"
  }, {
    "product_name" : "Red Hat build of Keycloak 26.2",
    "release_date" : "2025-06-09T00:00:00Z",
    "advisory" : "RHSA-2025:8672",
    "cpe" : "cpe:/a:redhat:build_keycloak:26.2::el9",
    "package" : "rhbk/keycloak-rhel9-operator:26.2-4"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Single Sign-On 7",
    "fix_state" : "Not affected",
    "package_name" : "rh-sso7-keycloak",
    "cpe" : "cpe:/a:redhat:red_hat_single_sign_on:7"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2025-3501\nhttps://nvd.nist.gov/vuln/detail/CVE-2025-3501\nhttps://github.com/keycloak/keycloak/issues/39350\nhttps://github.com/keycloak/keycloak/pull/39366" ],
  "name" : "CVE-2025-3501",
  "mitigation" : {
    "value" : "Use the correct TLS configuration and avoid using \"--tls-hostname-verifier=any\".",
    "lang" : "en:us"
  },
  "csaw" : false
}