high7.1
CVE-2024-7341
Keycloak has session fixation in Elytron SAML adapters
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-services | <= 22.0.11 | 22.0.12 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Keycloak | through 25.0.2 |
| Redhat | Single Sign-On | from 7.6 before 7.6.10 All versions |
| Redhat | Build Of Keycloak | from 22.0 before 22.0.12 from 24.0 before 24.0.7 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/errata/RHSA-2024:6493
- https://access.redhat.com/errata/RHSA-2024:6494
- https://access.redhat.com/errata/RHSA-2024:6495
- https://access.redhat.com/errata/RHSA-2024:6497
- https://access.redhat.com/errata/RHSA-2024:6499
- https://access.redhat.com/errata/RHSA-2024:6500
- https://access.redhat.com/errata/RHSA-2024:6501
- https://access.redhat.com/errata/RHSA-2024:6502
- https://access.redhat.com/errata/RHSA-2024:6503
- https://access.redhat.com/security/cve/CVE-2024-7341
- https://bugzilla.redhat.com/show_bug.cgi?id=2302064
- https://github.com/advisories/GHSA-j76j-rqwj-jmvv
- https://github.com/advisories/GHSA-5rxp-2rhr-qwqv
- https://github.com/keycloak/keycloak/security/advisories/GHSA-5rxp-2rhr-qwqv
- https://nvd.nist.gov/vuln/detail/CVE-2024-7341
- https://github.com/keycloak/keycloak/commit/2341d6ee7a3567c58fd6a04a419fe4403e13374c
- https://github.com/keycloak/keycloak/commit/5b3de0c7e7f367103affe2f5167913a2ce021cf1
- https://github.com/keycloak/keycloak/commit/5e06da2f6794c695051605e26a01affa3a18f66b