{
  "threat_severity" : "Moderate",
  "public_date" : "2024-09-09T13:48:00Z",
  "bugzilla" : {
    "description" : "wildfly-elytron: org.keycloak/keycloak-services: session fixation in elytron saml adapters",
    "id" : "2302064",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2302064"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.1",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-384",
  "details" : [ "A session fixation issue was discovered in the SAML adapters provided by Keycloak. The session ID and JSESSIONID cookie are not changed at login time, even when the turnOffChangeSessionIdOnLogin option is configured. This flaw allows an attacker who hijacks the current session before authentication to trigger session fixation.", "A session fixation issue was discovered in the SAML adapters provided by Keycloak. The session ID and JSESSIONID cookie are not changed at login time, even when the turnOffChangeSessionIdOnLogin option is configured. This flaw allows an attacker who hijacks the current session before authentication to trigger session fixation." ],
  "statement" : "This vulnerability is categorized as moderate severity rather than critical due to its specific exploitation conditions and impact. While it presents a session fixation risk, the attacker must first hijack a session before authentication. This pre-condition limits the exploitation vector to scenarios where an attacker has already gained some level of access or control. Additionally, the attack only impacts sessions where the `turnOffChangeSessionIdOnLogin` option is not set to true. Consequently, while it does pose a risk by potentially allowing unauthorized access if the session ID is not updated, the overall likelihood and impact of successful exploitation are mitigated by these constraints.",
  "affected_release" : [ {
    "product_name" : "Red Hat Build of Keycloak",
    "release_date" : "2024-09-09T00:00:00Z",
    "advisory" : "RHSA-2024:6501",
    "cpe" : "cpe:/a:redhat:build_keycloak:22",
    "package" : "org.keycloak/keycloak-services"
  }, {
    "product_name" : "Red Hat Build of Keycloak",
    "release_date" : "2024-09-09T00:00:00Z",
    "advisory" : "RHSA-2024:6503",
    "cpe" : "cpe:/a:redhat:build_keycloak:24",
    "package" : "org.keycloak/keycloak-services"
  }, {
    "product_name" : "Red Hat build of Keycloak 22",
    "release_date" : "2024-09-09T00:00:00Z",
    "advisory" : "RHSA-2024:6500",
    "cpe" : "cpe:/a:redhat:build_keycloak:22::el9",
    "package" : "rhbk/keycloak-operator-bundle:22.0.12-1"
  }, {
    "product_name" : "Red Hat build of Keycloak 22",
    "release_date" : "2024-09-09T00:00:00Z",
    "advisory" : "RHSA-2024:6500",
    "cpe" : "cpe:/a:redhat:build_keycloak:22::el9",
    "package" : "rhbk/keycloak-rhel9:22-17"
  }, {
    "product_name" : "Red Hat build of Keycloak 22",
    "release_date" : "2024-09-09T00:00:00Z",
    "advisory" : "RHSA-2024:6500",
    "cpe" : "cpe:/a:redhat:build_keycloak:22::el9",
    "package" : "rhbk/keycloak-rhel9-operator:22-20"
  }, {
    "product_name" : "Red Hat build of Keycloak 24",
    "release_date" : "2024-09-09T00:00:00Z",
    "advisory" : "RHSA-2024:6502",
    "cpe" : "cpe:/a:redhat:build_keycloak:24::el9",
    "package" : "rhbk/keycloak-operator-bundle:24.0.7-4"
  }, {
    "product_name" : "Red Hat build of Keycloak 24",
    "release_date" : "2024-09-09T00:00:00Z",
    "advisory" : "RHSA-2024:6502",
    "cpe" : "cpe:/a:redhat:build_keycloak:24::el9",
    "package" : "rhbk/keycloak-rhel9:24-16"
  }, {
    "product_name" : "Red Hat build of Keycloak 24",
    "release_date" : "2024-09-09T00:00:00Z",
    "advisory" : "RHSA-2024:6502",
    "cpe" : "cpe:/a:redhat:build_keycloak:24::el9",
    "package" : "rhbk/keycloak-rhel9-operator:24-16"
  }, {
    "product_name" : "Red Hat Single Sign-On 7",
    "release_date" : "2024-09-09T00:00:00Z",
    "advisory" : "RHSA-2024:6499",
    "cpe" : "cpe:/a:redhat:red_hat_single_sign_on:7.6",
    "package" : "org.keycloak/keycloak-services"
  }, {
    "product_name" : "Red Hat Single Sign-On 7.6 for RHEL 7",
    "release_date" : "2024-09-09T00:00:00Z",
    "advisory" : "RHSA-2024:6493",
    "cpe" : "cpe:/a:redhat:red_hat_single_sign_on:7.6::el7",
    "package" : "rh-sso7-keycloak-0:18.0.16-1.redhat_00001.1.el7sso"
  }, {
    "product_name" : "Red Hat Single Sign-On 7.6 for RHEL 8",
    "release_date" : "2024-09-09T00:00:00Z",
    "advisory" : "RHSA-2024:6494",
    "cpe" : "cpe:/a:redhat:red_hat_single_sign_on:7.6::el8",
    "package" : "rh-sso7-keycloak-0:18.0.16-1.redhat_00001.1.el8sso"
  }, {
    "product_name" : "Red Hat Single Sign-On 7.6 for RHEL 9",
    "release_date" : "2024-09-09T00:00:00Z",
    "advisory" : "RHSA-2024:6495",
    "cpe" : "cpe:/a:redhat:red_hat_single_sign_on:7.6::el9",
    "package" : "rh-sso7-keycloak-0:18.0.16-1.redhat_00001.1.el9sso"
  }, {
    "product_name" : "RHEL-8 based Middleware Containers",
    "release_date" : "2024-09-09T00:00:00Z",
    "advisory" : "RHSA-2024:6497",
    "cpe" : "cpe:/a:redhat:rhosemc:1.0::el8",
    "package" : "rh-sso-7/sso76-openshift-rhel8:7.6-52"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat JBoss Enterprise Application Platform 8",
    "fix_state" : "Under investigation",
    "package_name" : "keycloak-services",
    "cpe" : "cpe:/a:redhat:jboss_enterprise_application_platform:8"
  }, {
    "product_name" : "Red Hat JBoss Enterprise Application Platform 8",
    "fix_state" : "Affected",
    "package_name" : "org.keycloak/keycloak-services",
    "cpe" : "cpe:/a:redhat:jboss_enterprise_application_platform:8"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2024-7341\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-7341\nhttps://github.com/advisories/GHSA-j76j-rqwj-jmvv" ],
  "name" : "CVE-2024-7341",
  "mitigation" : {
    "value" : "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.",
    "lang" : "en:us"
  },
  "csaw" : false
}