CVE-2024-7341
HIGH7.1EPSS 2.2%Keycloak has session fixation in Elytron SAML adapters
Published: 10/14/2024Modified: 2/4/2026
Description
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 (1)
- Maven/org.keycloak:keycloak-servicesfrom 0, < 22.0.12
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
References (17)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-7341
- PATCHhttps://github.com/keycloak/keycloak
- WEBhttps://access.redhat.com/errata/RHSA-2024:6493
- WEBhttps://access.redhat.com/errata/RHSA-2024:6494
- WEBhttps://access.redhat.com/errata/RHSA-2024:6495
- WEBhttps://access.redhat.com/errata/RHSA-2024:6497
- WEBhttps://access.redhat.com/errata/RHSA-2024:6499
- WEBhttps://access.redhat.com/errata/RHSA-2024:6500
- WEBhttps://access.redhat.com/errata/RHSA-2024:6501
- WEBhttps://access.redhat.com/errata/RHSA-2024:6502
- WEBhttps://access.redhat.com/errata/RHSA-2024:6503
- WEBhttps://access.redhat.com/security/cve/CVE-2024-7341
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=2302064
- WEBhttps://github.com/keycloak/keycloak/commit/2341d6ee7a3567c58fd6a04a419fe4403e13374c
- WEBhttps://github.com/keycloak/keycloak/commit/5b3de0c7e7f367103affe2f5167913a2ce021cf1
- WEBhttps://github.com/keycloak/keycloak/commit/5e06da2f6794c695051605e26a01affa3a18f66b
- WEBhttps://github.com/keycloak/keycloak/security/advisories/GHSA-5rxp-2rhr-qwqv