CVE-2024-7341
Fixed in a distro release EPSS <1%CVSS 7.1
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.
Products: Red Hat Build of Keycloak, Red Hat build of Keycloak 22, Red Hat build of Keycloak 24, Red Hat Single Sign-On 7, Red Hat Single Sign-On 7.6 for RHEL 7, Red Hat Single Sign-On 7.6 for RHEL 8, Red Hat Single Sign-On 7.6 for RHEL 9, Red Hat RHEL-8 based Middleware Containers, Red Hat JBoss Enterprise Application Platform 8
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| Maven | org.keycloak:keycloak-services | 22.0.12 |
| Maven | org.keycloak:keycloak-services | 24.0.7 |
| Maven | org.keycloak:keycloak-services | 25.0.5 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Chainguard | keycloak-bitnami-fips | 25.0.4-r0 |
| Chainguard | keycloak-fips | 25.0.4-r0 |
| Chainguard | keycloak-fips-bitnami-compat | 25.0.4-r0 |
| Chainguard | keycloak-fips-policy-140-2 | 25.0.4-r0 |
| Chainguard | keycloak-fips-policy-140-3 | 25.0.4-r0 |
| Chainguard | keycloak-iamguarded-fips | 25.0.4-r0 |
| Red Hat red hat single sign on 7.6 | rh-sso7-keycloak | 0:18.0.16-1.redhat_00001.1.el7sso |
| Red Hat red hat single sign on 7.6 | rh-sso7-keycloak | 0:18.0.16-1.redhat_00001.1.el8sso |
| Red Hat red hat single sign on 7.6 | rh-sso7-keycloak | 0:18.0.16-1.redhat_00001.1.el9sso |
| Red Hat red hat single sign on 7.6 | rh-sso7-keycloak-server | 0:18.0.16-1.redhat_00001.1.el7sso |
| Red Hat red hat single sign on 7.6 | rh-sso7-keycloak-server | 0:18.0.16-1.redhat_00001.1.el8sso |
| Red Hat red hat single sign on 7.6 | rh-sso7-keycloak-server | 0:18.0.16-1.redhat_00001.1.el9sso |