{"id":"GHSA-q5qj-x2h5-3945","summary":"Zitadel exposing internal database user name and host information","details":"### Impact\n\nIn case ZITADEL could not connect to the database, connection information including db name, username and db host name could be returned to the user.\n\n### Patches\n\n2.x versions are fixed on \u003e= [2.50.3](https://github.com/zitadel/zitadel/releases/tag/v2.50.3)\n2.49.x versions are fixed on \u003e= [2.49.5](https://github.com/zitadel/zitadel/releases/tag/v2.49.5)\n2.48.x versions are fixed on \u003e= [2.48.5](https://github.com/zitadel/zitadel/releases/tag/v2.48.5)\n2.47.x versions are fixed on \u003e= [2.47.10](https://github.com/zitadel/zitadel/releases/tag/v2.47.10)\n2.46.x versions are fixed on \u003e= [2.46.7](https://github.com/zitadel/zitadel/releases/tag/v2.46.7)\n2.45.x versions are fixed on \u003e= [2.45.7](https://github.com/zitadel/zitadel/releases/tag/v2.45.7)\n\n### Workarounds\n\nThere is no workaround since a patch is already available.\n\n### Questions\n\nIf you have any questions or comments about this advisory, please email us at [security@zitadel.com](mailto:security@zitadel.com)","aliases":["CVE-2024-32967","GO-2024-2804"],"modified":"2026-09-10T03:49:18.740696002Z","published":"2024-05-01T16:36:04Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-05-01T16:36:04Z","nvd_published_at":"2024-05-01T07:15:40Z","cwe_ids":["CWE-200"]},"references":[{"type":"WEB","url":"https://github.com/zitadel/zitadel/security/advisories/GHSA-q5qj-x2h5-3945"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32967"},{"type":"WEB","url":"https://github.com/zitadel/zitadel/commit/b918603b576d156a08b90917c14c2d019c82ffc6"},{"type":"PACKAGE","url":"https://github.com/zitadel/zitadel"},{"type":"WEB","url":"https://github.com/zitadel/zitadel/releases/tag/v2.45.7"},{"type":"WEB","url":"https://github.com/zitadel/zitadel/releases/tag/v2.46.7"},{"type":"WEB","url":"https://github.com/zitadel/zitadel/releases/tag/v2.47.10"},{"type":"WEB","url":"https://github.com/zitadel/zitadel/releases/tag/v2.48.5"},{"type":"WEB","url":"https://github.com/zitadel/zitadel/releases/tag/v2.49.5"},{"type":"WEB","url":"https://github.com/zitadel/zitadel/releases/tag/v2.50.3"}],"affected":[{"package":{"name":"github.com/zitadel/zitadel","ecosystem":"Go","purl":"pkg:golang/github.com/zitadel/zitadel"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.50.0"},{"fixed":"2.50.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-q5qj-x2h5-3945/GHSA-q5qj-x2h5-3945.json"}},{"package":{"name":"github.com/zitadel/zitadel","ecosystem":"Go","purl":"pkg:golang/github.com/zitadel/zitadel"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.49.0"},{"fixed":"2.49.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-q5qj-x2h5-3945/GHSA-q5qj-x2h5-3945.json"}},{"package":{"name":"github.com/zitadel/zitadel","ecosystem":"Go","purl":"pkg:golang/github.com/zitadel/zitadel"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.48.0"},{"fixed":"2.48.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-q5qj-x2h5-3945/GHSA-q5qj-x2h5-3945.json"}},{"package":{"name":"github.com/zitadel/zitadel","ecosystem":"Go","purl":"pkg:golang/github.com/zitadel/zitadel"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.47.0"},{"fixed":"2.47.10"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-q5qj-x2h5-3945/GHSA-q5qj-x2h5-3945.json"}},{"package":{"name":"github.com/zitadel/zitadel","ecosystem":"Go","purl":"pkg:golang/github.com/zitadel/zitadel"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.45.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-q5qj-x2h5-3945/GHSA-q5qj-x2h5-3945.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}]}