WaratekVRT Sign in

CVE-2022-3916 Keycloak

Affected softwareKeycloak
Severity6.8 Medium CVSS 3.1 2 scores
Fixed in20.0.2
WeaknessImproper authentication (CWE-287)
Published20 Sep 2023
Updated17 Jun 2026

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.

CWE-384CWE-613CWE-304CWE-488

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 3 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.95% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

VRT has not found a public code change for this CVE yet.

  • Protection none
  • Action not pursued
  • Review human Researcher
  • Record active
Decided by Manual classification of this CVE in the legacy dataset
Finding A manual classification set this CVE's status to No source fix or exploit.

CVSS

6.8 MEDIUM v3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 6.8 MEDIUM CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N secalert@redhat.com Secondary published
CVSS 3.1 6.8 MEDIUM CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.keycloak:keycloak-parent 0 20.0.2 unbounded

Products and versions

7 products, 12 version entries
SourceVendorProductSchemeAffected versions
osv org.keycloak keycloak-parent generic < 20.0.2
nvd redhat keycloak generic < 20.0.2
nvd redhat openshift container platform generic 4.9 · 4.10
nvd redhat openshift container platform for linuxone generic 4.9 · 4.10
nvd redhat openshift container platform for power generic 4.9 · 4.10
nvd redhat openshift container platform ibm z systems generic 4.9 · 4.10
nvd redhat single sign-on generic any version · 7.6

References

URLTags
https://github.com/keycloak/keycloak/security/advisories/GHSA-97g8-xfvw-q4hg WEB
https://access.redhat.com/errata/RHSA-2022:8961 WEB
https://access.redhat.com/errata/RHSA-2022:8962 WEB
https://access.redhat.com/errata/RHSA-2022:8963 WEB
https://access.redhat.com/errata/RHSA-2022:8964 WEB
https://access.redhat.com/errata/RHSA-2022:8965 WEB
https://access.redhat.com/errata/RHSA-2023:1043 WEB
https://access.redhat.com/errata/RHSA-2023:1044 WEB
https://access.redhat.com/errata/RHSA-2023:1045 WEB
https://access.redhat.com/errata/RHSA-2023:1047 WEB

Timeline

Published2023-09-20By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.