Advisory

GHSA-2w5j-qfvw-2hf5

Also known as: CVE-2024-46999, GO-2024-3137

Summary

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])

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-09-19 16:07 UTC
Modified
2024-09-26 18:57 UTC

Affected packages and fixes

github.com/zitadel/zitadel/v2

Go · All systems

Affected

  • introduced 2.62.0, fixed 2.62.1 (semver)

Fixed versions

2.62.1

Fix

github.com/zitadel/zitadel/v2

Go · All systems

Affected

  • introduced 2.61.0, fixed 2.61.1 (semver)

Fixed versions

2.61.1

Fix

github.com/zitadel/zitadel/v2

Go · All systems

Affected

  • introduced 2.60.0, fixed 2.60.2 (semver)

Fixed versions

2.60.2

Fix

github.com/zitadel/zitadel/v2

Go · All systems

Affected

  • introduced 2.59.0, fixed 2.59.3 (semver)

Fixed versions

2.59.3

Fix

github.com/zitadel/zitadel/v2

Go · All systems

Affected

  • introduced 2.58.0, fixed 2.58.5 (semver)

Fixed versions

2.58.5

Fix

github.com/zitadel/zitadel/v2

Go · All systems

Affected

  • introduced 2.57.0, fixed 2.57.5 (semver)

Fixed versions

2.57.5

Fix

github.com/zitadel/zitadel/v2

Go · All systems

Affected

  • introduced 2.56.0, fixed 2.56.6 (semver)

Fixed versions

2.56.6

Fix

github.com/zitadel/zitadel/v2

Go · All systems

Affected

  • introduced 2.55.0, fixed 2.55.8 (semver)

Fixed versions

2.55.8

Fix

github.com/zitadel/zitadel/v2

Go · All systems

Affected

  • introduced 0, fixed 2.54.10 (semver)

Fixed versions

2.54.10

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences