CVE-2022-3916: redhat keycloak Session Fixation
Vulnerability summary
CVE-2022-3916 is a medium (CVSS 6.8) Session Fixation vulnerability in redhat keycloak. EPSS estimates a 0.95% chance of exploitation in the next 30 days, higher than 60.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 6Timeline
- 20-09-2023PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
A flaw was found in the offline_access scope in Keycloak. This issue would affect users of shared computers more (especially if cookies are not cleared), due to a lack of root session validation, and the reuse of session ids across root and user authentication sessions. This enables an attacker to resolve a user session attached to a previously authenticated user; when utilizing the refresh token, they will be issued a token for the original user.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · MavenEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- NVDNIST6.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
0.95%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
0.00 pp
From 0.95% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-384Session FixationAuthenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions.
- CWE-613Insufficient Session ExpirationAccording to WASC, "Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization."
Affected systems
Redhat6 products
- keycloak< 20.0.2
- openshift_container_platform4.9 | 4.10
- openshift_container_platform_for_linuxone4.9 | 4.10
- openshift_container_platform_for_power4.9 | 4.10
- openshift_container_platform_ibm_z_systems4.9 | 4.10
Org.keycloak1 product
- keycloak-parent< 20.0.2
2 vendors · 7 products
References
15 linksShow all 15 references
- github.com/keycloak/keycloakPACKAGE