CVE-2024-29892 ZITADEL's actions can overload reserved claims

Medium 6.1 Published Updated

Attackers can manipulate reserved claims via actions to escalate privileges or bypass security controls in ZITADEL authentication flows.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-29892?

CVE-2024-29892 is a medium-severity vulnerability in zitadel, published on 27 Mar 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

ZITADEL, open source authentication management software, uses Go templates to render the login UI. 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`. To compensate for this we introduced a protection that does prevent actions from changing claims that start with `urn:zitadel:iam`. This vulnerability is fixed in 2.48.3, 2.47.8, 2.46.5, 2.45.5, 2.44.7, 2.43.11, and 2.42.17.

Weakness: CWE-863

Which versions are affected by CVE-2024-29892?

15 open source packages ship an affected version, including github.com/zitadel/zitadel. It affects 1 product.

PackageAffectedFixed in
github.com/zitadel/zitadel GoAll versionsNone
github.com/zitadel/zitadel GoAll versions2.42.17
github.com/zitadel/zitadel GoAll versions2.42.17
github.com/zitadel/zitadel GoFrom 2.43.02.43.11
github.com/zitadel/zitadel GoFrom 2.43.02.43.11
github.com/zitadel/zitadel GoFrom 2.44.02.44.7
9 more packages
github.com/zitadel/zitadel GoFrom 2.44.02.44.7
github.com/zitadel/zitadel GoFrom 2.45.02.45.5
github.com/zitadel/zitadel GoFrom 2.45.02.45.5
github.com/zitadel/zitadel GoFrom 2.46.02.46.5
github.com/zitadel/zitadel GoFrom 2.46.02.46.5
github.com/zitadel/zitadel GoFrom 2.47.02.47.8
github.com/zitadel/zitadel GoFrom 2.47.02.47.8
github.com/zitadel/zitadel GoFrom 2.48.02.48.3
github.com/zitadel/zitadel GoFrom 2.48.02.48.3

Products include Zitadel Zitadel.

How do I fix CVE-2024-29892?

Upgrade github.com/zitadel/zitadel to a fixed version for your release line: 2.42.17, 2.43.11, 2.44.7 or 2.45.5.

Is CVE-2024-29892 being exploited?

There is no known exploitation of CVE-2024-29892 in the wild and no public exploit code.

Sources

Also known as GHSA-gp8g-f42f-95q2, GO-2024-2664.

Is CVE-2024-29892 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free