CVE-2023-22492

RefreshToken invalidation vulnerability

State
Published
Severity
5.9 Medium
Published
Jan 11, 2023
Updated
Mar 10, 2025
Reserved
Dec 29, 2022

Read the record on cve.org

Description

ZITADEL is a combination of Auth0 and Keycloak. RefreshTokens is an OAuth 2.0 feature that allows applications to retrieve new access tokens and refresh the user's session without the need for interacting with a UI. RefreshTokens were not invalidated when a user was locked or deactivated. The deactivated or locked user was able to obtain a valid access token only through a refresh token grant. When the locked or deactivated user’s session was already terminated (“logged out”) then it was not possible to create a new session. Renewal of access token through a refresh token grant is limited to the configured amount of time (RefreshTokenExpiration). As a workaround, ensure the RefreshTokenExpiration in the OIDC settings of your instance is set according to your security requirements. This issue has been patched in versions 2.17.3 and 2.16.4.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:NGitHub_M

Weaknesses

  • CWE-613 Insufficient Session Expiration

Affected Products

ProductVersions
zitadelzitadel
  • >= 2.17.0, < 2.17.3Affected
  • >= 2.0.0, < 2.16.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.