Live threats

All CVEs / Redhat

CVE-2024-7341Redhat Keycloak

High 7.1

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Keycloak.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
redhatkeycloak≤ 25.0.2
redhatsingle_sign-on≥ 7.6 < 7.6.10
redhatbuild_of_keycloak≥ 22.0 < 22.0.12
redhatbuild_of_keycloak≥ 24.0 < 24.0.7
redhatsingle_sign-onall

Official sources

References

Links published by the sources. Open them with care.