Live threats

All CVEs / Redhat

CVE-2022-3916Redhat Keycloak

Medium 6.8

Priority
41
CVSS 3.1
6.8
EPSS
1.0%
probability of exploitation in 30 days · percentile 62
Auth required
Yes
Published
Sep 20, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-384, CWE-613
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

What happens

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.

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-parent < 20.0.2 20.0.2 —

Per OSV / GitHub Advisories (GHSA-97g8-xfvw-q4hg). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
redhatkeycloak< 20.0.2
redhatsingle_sign-onall
redhatsingle_sign-on7.6
redhatopenshift_container_platform4.9
redhatopenshift_container_platform4.10
redhatopenshift_container_platform_for_linuxone4.9
redhatopenshift_container_platform_for_linuxone4.10
redhatopenshift_container_platform_for_power4.9
redhatopenshift_container_platform_for_power4.10
redhatopenshift_container_platform_ibm_z_systems4.9
redhatopenshift_container_platform_ibm_z_systems4.10

Official sources

References

Links published by the sources. Open them with care.