{"id":"CVE-2024-29892","aliases":["CVE-2024-29892","GHSA-gp8g-f42f-95q2","GO-2024-2664"],"related":[],"kind":"vulnerability","state":"published","title":"ZITADEL's actions can overload reserved claims","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nUnder certain circumstances an action could set [reserved claims](https://zitadel.com/docs/apis/openidoauth/claims#reserved-claims) managed by ZITADEL.\n\nFor example it would be possible to set the claim `urn:zitadel:iam:user:resourceowner:name`\n\n```json\n{\"urn:zitadel:iam:user:resourceowner:name\": \"ACME\"}\n```\n\nif it was not set by ZITADEL itself.\n\nTo compensate for this we introduced a protection that does prevent actions from changing claims that start with `urn:zitadel:iam`\n\n### Patches\n2.x versions are fixed on >= [2.48.3](https://github.com/zitadel/zitadel/releases/tag/v2.48.3)\n2.47.x versions are fixed on >= [2.47.8](https://github.com/zitadel/zitadel/releases/tag/v2.47.8)\n2.46.x versions are fixed on >= [2.46.5](https://github.com/zitadel/zitadel/releases/tag/v2.46.5)\n2.45.x versions are fixed on >= [2.45.5](https://github.com/zitadel/zitadel/releases/tag/v2.45.5)\n2.44.x versions are fixed on >= [2.44.7](https://github.com/zitadel/zitadel/releases/tag/v2.44.7)\n2.43.x versions are fixed on >= [2.43.11](https://github.com/zitadel/zitadel/releases/tag/v2.43.11)\n2.42.x versions are fixed on >= [2.42.17](https://github.com/zitadel/zitadel/releases/tag/v2.42.17)\n\n### Workarounds\nNo workaround available since a patch is available\n\n### Credits\nMany thanks to @schettn whose disclosure of another topic lead us to find this issue.","format":"markdown","source":"ghsa"},{"lang":"en","text":"ZITADEL's actions can overload reserved claims in github.com/zitadel/zitadel.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/zitadel/zitadel before v2.42.17, from v2.43.0 before v2.43.11, from v2.44.0 before v2.44.7, from v2.45.0 before v2.45.5, from v2.46.0 before v2.46.5, from v2.47.0 before v2.47.8, from v2.48.0 before v2.48.3.","format":"markdown","source":"go"},{"lang":"es","text":"ZITADEL, software de gestión de autenticación de código abierto, utiliza plantillas Go para representar la interfaz de usuario de inicio de sesión. En determinadas circunstancias una acción podría establecer reclamaciones reservadas gestionadas por ZITADEL. Por ejemplo, sería posible establecer el reclamo `urn:zitadel:iam:user:resourceowner:name`. Para compensar esto, introdujimos una protección que evita que las acciones cambien los reclamos que comienzan con `urn:zitadel:iam`. Esta vulnerabilidad se solucionó en 2.48.3, 2.47.8, 2.46.5, 2.45.5, 2.44.7, 2.43.11 y 2.42.17.","source":"nvd"}],"published":"2024-03-27T19:59:24.734Z","modified":"2026-09-10T03:50:10.441Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N","score":6.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":"< 2.42.17","status":"affected"},{"version":">= 2.43.0, < 2.43.11","status":"affected"},{"version":">= 2.44.0, < 2.44.7","status":"affected"},{"version":">= 2.45.0, < 2.45.5","status":"affected"},{"version":">= 2.46.0, < 2.46.5","status":"affected"},{"version":">= 2.47.0, < 2.47.8","status":"affected"},{"version":">= 2.48.0, < 2.48.3","status":"affected"}],"vendor":"zitadel","product":"zitadel","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"2.42.17","status":"affected"},{"type":"custom","introduced":"2.43.0","fixed":"2.43.11","status":"affected"},{"type":"custom","introduced":"2.44.0","fixed":"2.44.7","status":"affected"},{"type":"custom","introduced":"2.45.0","fixed":"2.45.5","status":"affected"},{"type":"custom","introduced":"2.46.0","fixed":"2.46.5","status":"affected"},{"type":"custom","introduced":"2.47.0","fixed":"2.47.8","status":"affected"},{"type":"custom","introduced":"2.48.0","fixed":"2.48.3","status":"affected"}],"vendor":"zitadel","product":"zitadel","cpe":"cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.42.17"}],"ecosystem":"Go","package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.43.0","status":"affected","fixed":"2.43.11"}],"ecosystem":"Go","package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.44.0","status":"affected","fixed":"2.44.7"}],"ecosystem":"Go","package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.45.0","status":"affected","fixed":"2.45.5"}],"ecosystem":"Go","package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.46.0","status":"affected","fixed":"2.46.5"}],"ecosystem":"Go","package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.47.0","status":"affected","fixed":"2.47.8"}],"ecosystem":"Go","package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.48.0","status":"affected","fixed":"2.48.3"}],"ecosystem":"Go","package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/zitadel/zitadel","purl":"pkg:golang/github.com/zitadel/zitadel","source":"go"},{"ranges":[{"status":"affected","fixed":"2.42.17"},{"status":"affected","introduced":"2.43.0","fixed":"2.43.11"},{"status":"affected","introduced":"2.44.0","fixed":"2.44.7"},{"status":"affected","introduced":"2.45.0","fixed":"2.45.5"},{"status":"affected","introduced":"2.46.0","fixed":"2.46.5"},{"status":"affected","introduced":"2.47.0","fixed":"2.47.8"},{"status":"affected","introduced":"2.48.0","fixed":"2.48.3"}],"vendor":"zitadel","product":"zitadel","cpe":"cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/zitadel/zitadel/security/advisories/GHSA-gp8g-f42f-95q2","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.42.17","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.43.11","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.44.7","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.45.5","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.46.5","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.47.8","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/zitadel/zitadel/releases/tag/v2.48.3","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29892","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/zitadel/zitadel","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-03-28T18:21:49.100Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-29892","url":"https://www.cve.org/CVERecord?id=CVE-2024-29892","licence":"CVE Terms of Use","modified":"2024-08-13T14:07:12.217Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gp8g-f42f-95q2","url":"https://github.com/advisories/GHSA-gp8g-f42f-95q2","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:10.441Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2664","url":"https://pkg.go.dev/vuln/GO-2024-2664","licence":"CC-BY-4.0","modified":"2024-07-09T19:33:56.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-29892","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29892","licence":"Public domain","modified":"2026-06-17T07:23:19.020Z"}],"updatedAt":"2026-11-25T22:58:38.027Z","epss":{"score":0.00767,"percentile":0.56747,"date":"2026-12-01T12:00:22.000Z"}}