CVE-2022-3916
published medium CVSS 3.1 · 6.8Keycloak: session takeover with oidc offline refreshtokens
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | keycloakRed Hat Single Sign-On 7 | Unaffected | Not required | redhat |
| Red Hat | — | keycloakRed Hat Single Sign-On 7.6.1 | Unaffected | Not required | redhat |
| Red Hat | — | rh-sso7-keycloakRed Hat Single Sign-On 7.6 for RHEL 7 · 0:18.0.3-1.redhat_00002.1.el7sso and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rh-sso7-keycloakRed Hat Single Sign-On 7.6 for RHEL 7 · 0:18.0.6-1.redhat_00001.1.el7sso and later · Other versions: affected | Unaffected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat | — | rh-sso7-keycloakRed Hat Single Sign-On 7.6 for RHEL 8 · 0:18.0.3-1.redhat_00002.1.el8sso and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rh-sso7-keycloakRed Hat Single Sign-On 7.6 for RHEL 8 · 0:18.0.6-1.redhat_00001.1.el8sso and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rh-sso7-keycloakRed Hat Single Sign-On 7.6 for RHEL 9 · 0:18.0.3-1.redhat_00002.1.el9sso and later · Other versions: affected | Unaffected | Not stated | redhat |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rh-sso7-keycloakRed Hat Single Sign-On 7.6 for RHEL 9 · 0:18.0.6-1.redhat_00001.1.el9sso and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rh-sso-7/sso76-openshift-rhel8RHEL-8 based Middleware Containers · 7.6-15 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rh-sso-7/sso76-openshift-rhel8RHEL-8 based Middleware Containers · 7.6-20 and later · Other versions: affected | Unaffected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Single Sign-On 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7.6.1 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 7 | 0:18.0.3-1.redhat_00002.1.el7sso and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 7 | 0:18.0.6-1.redhat_00001.1.el7sso and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 8 | 0:18.0.3-1.redhat_00002.1.el8sso and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 8 | 0:18.0.6-1.redhat_00001.1.el8sso and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 | 0:18.0.3-1.redhat_00002.1.el9sso and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 | 0:18.0.6-1.redhat_00001.1.el9sso and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | RHEL-8 based Middleware Containers | 7.6-15 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | RHEL-8 based Middleware Containers | 7.6-20 and later (unaffected · rpm)Default: affected | redhat · cna |
Weaknesses
1- CWE-384 Session Fixation
References
12- RHSA-2022:8961 https://access.redhat.com/errata/RHSA-2022:8961
- RHSA-2022:8962 https://access.redhat.com/errata/RHSA-2022:8962
- RHSA-2022:8963 https://access.redhat.com/errata/RHSA-2022:8963
- RHSA-2022:8964 https://access.redhat.com/errata/RHSA-2022:8964
- RHSA-2022:8965 https://access.redhat.com/errata/RHSA-2022:8965
- RHSA-2023:1043 https://access.redhat.com/errata/RHSA-2023:1043
- RHSA-2023:1044 https://access.redhat.com/errata/RHSA-2023:1044
- RHSA-2023:1045 https://access.redhat.com/errata/RHSA-2023:1045
- RHSA-2023:1047 https://access.redhat.com/errata/RHSA-2023:1047
- RHSA-2023:1049 https://access.redhat.com/errata/RHSA-2023:1049
- https://access.redhat.com/security/cve/CVE-2022-3916
- RHBZ#2141404 https://bugzilla.redhat.com/show_bug.cgi?id=2141404
Provider assertions
3redhat · cna
Keycloak: session takeover with oidc offline refreshtokens
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9ab2f23392f5859a7472da9b18645aa07173c45e7b44b1b6bbb6f52939d866b4
- Ingested
- 23 Sep 2026, 08:02:18 UTC
- Source record
- Official CVE record