Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-3916

published medium CVSS 3.1 · 6.8

Keycloak: session takeover with oidc offline refreshtokens

Published
20 Sep 2023, 14:28:52 UTC
Updated
03 Aug 2024, 01:20:58 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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 / vendorReleasePackage / productPublisher statusFixed buildSource
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.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

0

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.

Affected vendor and product assertions
VendorProductVersion statusSource
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 (redhat · cna)

References

12
  • RHSA-2022:8961 https://access.redhat.com/errata/RHSA-2022:8961 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2022:8962 https://access.redhat.com/errata/RHSA-2022:8962 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2022:8963 https://access.redhat.com/errata/RHSA-2022:8963 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2022:8964 https://access.redhat.com/errata/RHSA-2022:8964 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2022:8965 https://access.redhat.com/errata/RHSA-2022:8965 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2023:1043 https://access.redhat.com/errata/RHSA-2023:1043 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2023:1044 https://access.redhat.com/errata/RHSA-2023:1044 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2023:1045 https://access.redhat.com/errata/RHSA-2023:1045 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2023:1047 https://access.redhat.com/errata/RHSA-2023:1047 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2023:1049 https://access.redhat.com/errata/RHSA-2023:1049 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • https://access.redhat.com/security/cve/CVE-2022-3916 vdb-entry, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHBZ#2141404 https://bugzilla.redhat.com/show_bug.cgi?id=2141404 issue-tracking, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)

Provider assertions

3

redhat · 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

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected