Skip to content
OpenAdvisories
Medium · 5.9 CVE-2023-22492 EUVD-2023-0370GHSA-6rrr-78xp-5jp8

RefreshToken invalidation vulnerability

Published Jan 11, 2023 · Updated Mar 10, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
zitadel zitadel >= 2.17.0, < 2.17.3, >= 2.0.0, < 2.16.4 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/zitadel/zitadel >= 2.17.0, < 2.17.3 2.17.3 GHSA-6rrr-78xp-5jp8
Go github.com/zitadel/zitadel >= 2.0.0, < 2.16.4 2.16.4 GHSA-6rrr-78xp-5jp8

References