Security mailing lists by PureSourceCode

CVE-2022-3916

MEDIUM 6.8CVSS 3.1

Keycloak vulnerable to session takeover with OIDC offline refreshtokens

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.

Published
20 Sep 2023
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-287CWE-304CWE-384CWE-488CWE-613
Also known as
GHSA-97g8-xfvw-q4hg
Sources
NVDJSONOSV GHSA-97g8-xfvw-q4hgJSON

Scores

SourceScored byVersionScoreVector / decision
NVD secalert@redhat.com (Secondary) CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD redhat keycloak
cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*
< 20.0.2 20.0.2
NVD redhat single_sign-on
cpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:*
(no version)
NVD redhat single_sign-on
cpe:2.3:a:redhat:single_sign-on:7.6:*:*:*:*:*:*:*
= 7.6
NVD redhat openshift_container_platform
cpe:2.3:a:redhat:openshift_container_platform:4.9:*:*:*:*:*:*:*
= 4.9
NVD redhat openshift_container_platform
cpe:2.3:a:redhat:openshift_container_platform:4.10:*:*:*:*:*:*:*
= 4.10
NVD redhat openshift_container_platform_for_linuxone
cpe:2.3:a:redhat:openshift_container_platform_for_linuxone:4.9:*:*:*:*:*:*:*
= 4.9
NVD redhat openshift_container_platform_for_linuxone
cpe:2.3:a:redhat:openshift_container_platform_for_linuxone:4.10:*:*:*:*:*:*:*
= 4.10
NVD redhat openshift_container_platform_for_power
cpe:2.3:a:redhat:openshift_container_platform_for_power:4.9:*:*:*:*:*:*:*
= 4.9
NVD redhat openshift_container_platform_for_power
cpe:2.3:a:redhat:openshift_container_platform_for_power:4.10:*:*:*:*:*:*:*
= 4.10
NVD redhat openshift_container_platform_ibm_z_systems
cpe:2.3:a:redhat:openshift_container_platform_ibm_z_systems:4.9:*:*:*:*:*:*:*
= 4.9
NVD redhat openshift_container_platform_ibm_z_systems
cpe:2.3:a:redhat:openshift_container_platform_ibm_z_systems:4.10:*:*:*:*:*:*:*
= 4.10
OSV Maven org.keycloak:keycloak-parent < 20.0.2 20.0.2

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 20 Sep 2023)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 Dec 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.