CVE-2024-46999
JSON

7.3high

User Grant Deactivation not Working in Zitadel

Severity
7.3high CVSS:3.1 by GitHub_M
Exploit likelihood
0.35% (higher than 30% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-2w5j-qfvw-2hf5GO-2024-3137

Description

Zitadel is an open source identity management platform. 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. Versions 2.62.1, 2.61.1, 2.60.2, 2.59.3, 2.58.5, 2.57.5, 2.56.6, 2.55.8, and 2.54.10 have been released which address this issue. Users are advised to upgrade. Users unable to upgrade may explicitly remove the user grants to make sure the user does not get access anymore.

Affected

Product or packageVersionsReported by
zitadel zitadel>= 2.62.0, < 2.62.1, >= 2.61.0, < 2.61.1, >= 2.60.0, < 2.60.2, >= 2.59.0, < 2.59.3, >= 2.58.0, < 2.58.5, >= 2.57.0, < 2.57.5, >= 2.56.0, < 2.56.6, >= 2.55.0, < 2.55.8 and 12 moreCVE List, NVD
github.com/zitadel/zitadel/v2 (Go)from 2.62.0 before 2.62.1, from 2.61.0 before 2.61.1, from 2.60.0 before 2.60.2, from 2.59.0 before 2.59.3, from 2.58.0 before 2.58.5, from 2.57.0 before 2.57.5, from 2.56.0 before 2.56.6, from 2.55.0 before 2.55.8 and 1 moreGitHub Advisory Database
github.com/zitadel/zitadel (Go)all versionsGo Vulnerability Database

All scores

GitHub_M7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
GitHub7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-269CWE-672

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

Zitadel is an open source identity management platform. 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. Versions 2.62.1, 2.61.1, 2.60.2, 2.59.3, 2.58.5, 2.57.5, 2.56.6, 2.55.8, and 2.54.10 have been released which address this issue. Users are advised to upgrade. Users unable to upgrade may explicitly remove the user grants to make sure the user does not get access anymore.

GitHub Advisory Database
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 security@zitadel.com

Go Vulnerability Database

ZITADEL's User Grant Deactivation not Working in github.com/zitadel/zitadel.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/zitadel/zitadel before v2.54.10, from v2.55.0 before v2.55.8, from v2.56.0 before v2.56.6, from v2.57.0 before v2.57.5, from v2.58.0 before v2.58.5, from v2.59.0 before v2.59.3, from v2.60.0 before v2.60.2, from v2.61.0 before v2.61.1, from v2.62.0 before v2.62.1.

NVD (es)

Zitadel es una plataforma de gestión de identidad de código abierto. El mecanismo de desactivación de concesiones de usuario de ZITADEL no funcionaba correctamente. Las concesiones de usuario desactivadas se seguían proporcionando en token, lo que podía provocar un acceso no autorizado a aplicaciones y recursos. Además, la API de gestión y autenticación siempre devolvía el estado como activo o no proporcionaba ninguna información sobre el estado. Se han publicado las versiones 2.62.1, 2.61.1, 2.60.2, 2.59.3, 2.58.5, 2.57.5, 2.56.6, 2.55.8 y 2.54.10 que solucionan este problema. Se recomienda a los usuarios que actualicen la versión. Los usuarios que no puedan actualizar pueden eliminar explícitamente las concesiones de usuario para asegurarse de que el usuario ya no obtenga acceso.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-46999 changed 2024-09-20CVE Terms of Use
GitHub Advisory DatabaseGHSA-2w5j-qfvw-2hf5 changed 2024-09-26CC-BY-4.0
Go Vulnerability DatabaseGO-2024-3137 changed 2024-09-26CC-BY-4.0
NVDCVE-2024-46999 changed 2026-06-17Public domain