CVE-2024-7341Wildfly-elytron: org.keycloak/keycloak-services: session fixation in elytron saml adapters
- 7.1HighCVSS base score
- 0.85%Exploitation in 30 daysEPSS · top 41% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
- 40 days later
· 40 days later
Published
- 24 months later
· 24 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.85% · top 41% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
org.keycloak:keycloak-services
- affected < 22.0.12
- affected 23.0.0 – < 24.0.7
- affected 25.0.0 – < 25.0.5
Red Hat · Red Hat Build of Keycloak
All versions: unaffected
Red Hat · Red Hat Build of Keycloak
All versions: unaffected
Red Hat · Red Hat build of Keycloak 22
- unaffected 22.0.12-1 – < *
Red Hat · Red Hat build of Keycloak 22
- unaffected 22-17 – < *
Red Hat · Red Hat build of Keycloak 22
- unaffected 22-20 – < *
Red Hat · Red Hat build of Keycloak 24
- unaffected 24.0.7-4 – < *
Red Hat · Red Hat build of Keycloak 24
- unaffected 24-16 – < *
Red Hat · Red Hat build of Keycloak 24
- unaffected 24-16 – < *
Red Hat · Red Hat Single Sign-On 7
All versions: unaffected
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 7
- unaffected 0:18.0.16-1.redhat_00001.1.el7sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 8
- unaffected 0:18.0.16-1.redhat_00001.1.el8sso – < *
Red Hat · Red Hat Single Sign-On 7.6 for RHEL 9
- unaffected 0:18.0.16-1.redhat_00001.1.el9sso – < *
Red Hat · RHEL-8 based Middleware Containers
- unaffected 7.6-52 – < *
Red Hat · Red Hat JBoss Enterprise Application Platform 8
All versions: unaffected
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.keycloak:keycloak-servicesGHSA-5rxp-2rhr-qwqv (opens in a new tab)
What to do
Workaround: 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.
References
References12
- RHSA-2024:6493 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:6494 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:6495 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:6497 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:6499 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:6500 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:6501 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:6502 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:6503 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-7341 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2302064 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://github.com/advisories/GHSA-j76j-rqwj-jmvv (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-2954 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-5rxp-2rhr-qwqv (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-7341)Record last updated .