Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-services
  4. ›
  5. CVE-2022-3916

CVE-2022-3916: Insufficient Session Expiration

September 20, 2023 (updated November 7, 2023)

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.

References

  • access.redhat.com/errata/RHSA-2022:8961
  • access.redhat.com/errata/RHSA-2022:8962
  • access.redhat.com/errata/RHSA-2022:8963
  • access.redhat.com/errata/RHSA-2022:8964
  • access.redhat.com/errata/RHSA-2022:8965
  • access.redhat.com/errata/RHSA-2023:1043
  • access.redhat.com/errata/RHSA-2023:1044
  • access.redhat.com/errata/RHSA-2023:1045
  • access.redhat.com/errata/RHSA-2023:1047
  • access.redhat.com/errata/RHSA-2023:1049
  • access.redhat.com/security/cve/CVE-2022-3916
  • bugzilla.redhat.com/show_bug.cgi?id=2141404
  • nvd.nist.gov/vuln/detail/CVE-2022-3916

Code Behaviors & Features

Detect and mitigate CVE-2022-3916 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 20.0.2

Fixed versions

  • 20.0.2

Solution

Upgrade to version 20.0.2 or above.

Impact 6.8 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-613: Insufficient Session Expiration

Source file

maven/org.keycloak/keycloak-services/CVE-2022-3916.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:32 +0000.