HIGH7.1
GHSA-5rxp-2rhr-qwqv
Keycloak has session fixation in Elytron SAML adapters
Quick fix
GHSA-5rxp-2rhr-qwqv — org.keycloak:keycloak-services: upgrade to the fixed version with the command below.
# pom.xml: bump <version>22.0.12</version> for org.keycloak:keycloak-servicesDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.keycloak:keycloak-services
Introduced in:
0Fixed in: 22.0.12Fix
# pom.xml: bump <version>22.0.12</version> for org.keycloak:keycloak-servicesMaven/org.keycloak:keycloak-services
Introduced in:
23.0.0Fixed in: 24.0.7Fix
# pom.xml: bump <version>24.0.7</version> for org.keycloak:keycloak-servicesMaven/org.keycloak:keycloak-services
Introduced in:
25.0.0Fixed in: 25.0.5Fix
# pom.xml: bump <version>25.0.5</version> for org.keycloak:keycloak-servicesReferences
- https://github.com/keycloak/keycloak/security/advisories/GHSA-5rxp-2rhr-qwqv[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-7341[ADVISORY]
- https://github.com/keycloak/keycloak/commit/5e06da2f6794c695051605e26a01affa3a18f66b[WEB]
- https://github.com/keycloak/keycloak/commit/5b3de0c7e7f367103affe2f5167913a2ce021cf1[WEB]
- https://github.com/keycloak/keycloak/commit/2341d6ee7a3567c58fd6a04a419fe4403e13374c[WEB]
- https://github.com/keycloak/keycloak[PACKAGE]
- https://bugzilla.redhat.com/show_bug.cgi?id=2302064[WEB]
- https://access.redhat.com/security/cve/CVE-2024-7341[WEB]
- https://access.redhat.com/errata/RHSA-2024:6503[WEB]
- https://access.redhat.com/errata/RHSA-2024:6502[WEB]
- https://access.redhat.com/errata/RHSA-2024:6501[WEB]
- https://access.redhat.com/errata/RHSA-2024:6500[WEB]
- https://access.redhat.com/errata/RHSA-2024:6499[WEB]
- https://access.redhat.com/errata/RHSA-2024:6497[WEB]
- https://access.redhat.com/errata/RHSA-2024:6495[WEB]
- https://access.redhat.com/errata/RHSA-2024:6494[WEB]
- https://access.redhat.com/errata/RHSA-2024:6493[WEB]