Advisory

GHSA-gp8g-f42f-95q2

Also known as: CVE-2024-29892, GO-2024-2664

Summary

ZITADEL's actions can overload reserved claims

Details

Impact
Under certain circumstances an action could set reserved claims managed by ZITADEL.

For example it would be possible to set the claim urn:zitadel:iam:user:resourceowner:name

{"urn:zitadel:iam:user:resourceowner:name": "ACME"}

if it was not set by ZITADEL itself.

To compensate for this we introduced a protection that does prevent actions from changing claims that start with urn:zitadel:iam

Patches
2.x versions are fixed on >= 2.48.3
2.47.x versions are fixed on >= 2.47.8
2.46.x versions are fixed on >= 2.46.5
2.45.x versions are fixed on >= 2.45.5
2.44.x versions are fixed on >= 2.44.7
2.43.x versions are fixed on >= 2.43.11
2.42.x versions are fixed on >= 2.42.17

Workarounds
No workaround available since a patch is available

Credits
Many thanks to @schettn whose disclosure of another topic lead us to find this issue.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-03-28 17:07 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/zitadel/zitadel

Go · All systems

Affected

  • introduced 0, fixed 2.42.17 (semver)

Fixed versions

2.42.17

Fix

github.com/zitadel/zitadel

Go · All systems

Affected

  • introduced 2.43.0, fixed 2.43.11 (semver)

Fixed versions

2.43.11

Fix

github.com/zitadel/zitadel

Go · All systems

Affected

  • introduced 2.44.0, fixed 2.44.7 (semver)

Fixed versions

2.44.7

Fix

github.com/zitadel/zitadel

Go · All systems

Affected

  • introduced 2.45.0, fixed 2.45.5 (semver)

Fixed versions

2.45.5

Fix

github.com/zitadel/zitadel

Go · All systems

Affected

  • introduced 2.46.0, fixed 2.46.5 (semver)

Fixed versions

2.46.5

Fix

github.com/zitadel/zitadel

Go · All systems

Affected

  • introduced 2.47.0, fixed 2.47.8 (semver)

Fixed versions

2.47.8

Fix

github.com/zitadel/zitadel

Go · All systems

Affected

  • introduced 2.48.0, fixed 2.48.3 (semver)

Fixed versions

2.48.3

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