Loading...
Skip to main content

CVE-2024-46999 — Vulnerability in github.com/zitadel/zitadel/v2 —...

HIGH

ZITADEL's User Grant Deactivation not Working

Published September 19, 2024Updated September 26, 2024Source: osv

Summary

### 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](https://github.com/zitadel/zitadel/releases/tag/v2.62.1) 2.61.x versions are fixed on >= [2.61.1](https://github.com/zitadel/zitadel/releases/tag/v2.61.1) 2.60.x versions are fixed on >= [2.60.2](https://github.com/zitadel/zitadel/releases/tag/v2.60.2) 2.59.x versions are fixed on >= [2.59.3](https://github.com/zitadel/zitadel/releases/tag/v2.59.3) 2.58.x versions are fixed on >= [2.58.5](https://github.com/zitadel/zitadel/releases/tag/v2.58.5) 2.57.x versions are fixed on >= [2.57.5](https://github.com/zitadel/zitadel/releases/tag/v2.57.5) 2.56.x versions are fixed on >= [2.56.6](https://github.com/zitadel/zitadel/releases/tag/v2.56.6) 2.55.x versions are fixed on >= [2.55.8](https://github.com/zitadel/zitadel/releases/tag/v2.55.8) 2.54.x versions are fixed on >= [2.54.10](https://github.com/zitadel/zitadel/releases/tag/v2.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](mailto:security@zitadel.com)

Advisory Timeline

  • First published September 19, 2024 (753 days ago).
  • Last revised September 26, 2024 — 7 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/zitadel/zitadel/v2 to 2.62.1 or later
go get github.com/zitadel/zitadel/v2@v2.62.1
Go
Update github.com/zitadel/zitadel/v2 to 2.61.1 or later
go get github.com/zitadel/zitadel/v2@v2.61.1
Go
Update github.com/zitadel/zitadel/v2 to 2.57.5 or later
go get github.com/zitadel/zitadel/v2@v2.57.5
Go
Update github.com/zitadel/zitadel/v2 to 2.58.5 or later
go get github.com/zitadel/zitadel/v2@v2.58.5
Go
Update github.com/zitadel/zitadel/v2 to 2.54.10 or later
go get github.com/zitadel/zitadel/v2@v2.54.10
Go
Update github.com/zitadel/zitadel/v2 to 2.55.8 or later
go get github.com/zitadel/zitadel/v2@v2.55.8
Go
Update github.com/zitadel/zitadel/v2 to 2.59.3 or later
go get github.com/zitadel/zitadel/v2@v2.59.3
Go
Update github.com/zitadel/zitadel/v2 to 2.60.2 or later
go get github.com/zitadel/zitadel/v2@v2.60.2
Go
Update github.com/zitadel/zitadel/v2 to 2.56.6 or later
go get github.com/zitadel/zitadel/v2@v2.56.6

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (9)

Affects 1 ecosystem: go (1).

PackageEcosystemAffectedFixed In
github.com/zitadel/zitadel/v2
go
All versions2.62.1
github.com/zitadel/zitadel/v2
go
All versions2.61.1
github.com/zitadel/zitadel/v2
go
All versions2.57.5
github.com/zitadel/zitadel/v2
go
All versions2.58.5
github.com/zitadel/zitadel/v2
go
All versions2.54.10
github.com/zitadel/zitadel/v2
go
All versions2.55.8
github.com/zitadel/zitadel/v2
go
All versions2.59.3
github.com/zitadel/zitadel/v2
go
All versions2.60.2
github.com/zitadel/zitadel/v2
go
All versions2.56.6

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.3 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

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

Frequently Asked Questions

What is CVE-2024-46999?
ZITADEL's User Grant Deactivation not Working This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.3/10).
How do I check if my project is affected by CVE-2024-46999?
CVE-2024-46999 affects github.com/zitadel/zitadel/v2. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-46999 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.3

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-2w5j-qfvw-2hf5
GO-2024-3137

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies