CVE-2024-7341Redhat Keycloak
High 7.1
Follow: this CVE · Redhat · Redhat Keycloak We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.1
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 64
- Auth required
- Yes
- Published
- Sep 9, 2024
- Updated
- Aug 27, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-384
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Keycloak.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-services |
< 22.0.12 |
22.0.12 |
— |
| Maven | org.keycloak:keycloak-services |
≥ 23.0.0 < 24.0.7 |
24.0.7 |
— |
| Maven | org.keycloak:keycloak-services |
≥ 25.0.0 < 25.0.5 |
25.0.5 |
— |
Per OSV / GitHub Advisories (GHSA-5rxp-2rhr-qwqv). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | keycloak | ≤ 25.0.2 |
| redhat | single_sign-on | ≥ 7.6 < 7.6.10 |
| redhat | build_of_keycloak | ≥ 22.0 < 22.0.12 |
| redhat | build_of_keycloak | ≥ 24.0 < 24.0.7 |
| redhat | single_sign-on | all |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Mailing List
- access.redhat.com Mailing List
- access.redhat.com Mailing List
- access.redhat.com Mailing List
- access.redhat.com Mailing List
- access.redhat.com Mailing List
- access.redhat.com Mailing List
- access.redhat.com Mailing List
- access.redhat.com Mailing List
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking Vendor Advisory
- github.com