ADVISORIES

GitHub Advisory Database

GHSA-2w5j-qfvw-2hf5

ZITADEL's User Grant Deactivation not Working

Details

Impact

ZITADEL's user grants deactivation mechanism did not work correctly. Deactivated user grants were still provided in token, which could lead to unauthorized access to applications and resources. Additionally, the management and auth API always returned the state as active or did not provide any information about the state.

Patches

2.x versions are fixed on >= 2.62.1 2.61.x versions are fixed on >= 2.61.1 2.60.x versions are fixed on >= 2.60.2 2.59.x versions are fixed on >= 2.59.3 2.58.x versions are fixed on >= 2.58.5 2.57.x versions are fixed on >= 2.57.5 2.56.x versions are fixed on >= 2.56.6 2.55.x versions are fixed on >= 2.55.8 2.54.x versions are fixed on >= 2.54.10

Workarounds

Unpatched versions can explicitly remove the user grants to make sure the user does not get access anymore.

Questions

If you have any questions or comments about this advisory, please email us at [[email protected]](mailto:[email protected])

Affected packages

EcosystemPackageAffected versions
Gogithub.com/zitadel/zitadel/v2
From 2.62.0 before 2.62.1 (fixed in 2.62.1)
Gogithub.com/zitadel/zitadel/v2
From 2.61.0 before 2.61.1 (fixed in 2.61.1)
Gogithub.com/zitadel/zitadel/v2
From 2.60.0 before 2.60.2 (fixed in 2.60.2)
Gogithub.com/zitadel/zitadel/v2
From 2.59.0 before 2.59.3 (fixed in 2.59.3)
Gogithub.com/zitadel/zitadel/v2
From 2.58.0 before 2.58.5 (fixed in 2.58.5)
Gogithub.com/zitadel/zitadel/v2
From 2.57.0 before 2.57.5 (fixed in 2.57.5)
Gogithub.com/zitadel/zitadel/v2
From 2.56.0 before 2.56.6 (fixed in 2.56.6)
Gogithub.com/zitadel/zitadel/v2
From 2.55.0 before 2.55.8 (fixed in 2.55.8)
Gogithub.com/zitadel/zitadel/v2
All versions before 2.54.10 (fixed in 2.54.10)

References