CVE-2024-32967: Github.com/zitadel/zitadel Zitadel Exposing Internal Database User Vulnerability
MODERATECVE-2024-32967 is a MODERATE (CVSS 5.3) zitadel exposing internal database user vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Github.com/zitadel/zitadel libraries in the Go ecosystem. The issue involves zitadel exposing internal database user name and host information. Remediation is available by upgrading affected packages to version 2.50.3, 2.49.5, 2.48.5, 2.47.10, 2.45.7.
CVE-2024-32967 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2024-32967
To remediate this vulnerability, upgrade all affected Github.com/zitadel/zitadel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/zitadel/zitadel to 2.50.3
Upgrade github.com/zitadel/zitadel to 2.49.5
Upgrade github.com/zitadel/zitadel to 2.48.5
Upgrade github.com/zitadel/zitadel to 2.47.10
Upgrade github.com/zitadel/zitadel to 2.45.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/zitadel/zitadel
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-32967, inspect your project dependencies for Github.com/zitadel/zitadel:
inspect dependencies for github.com/zitadel/zitadel
Analyze the terminal output to locate any version of Github.com/zitadel/zitadel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.50.3), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Github.com/zitadel/zitadel, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-32967 Affected Github.com/zitadel/zitadel Versions
5 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/zitadel/zitadel
|
Go |
≥ 2.50.0
< 2.50.3
|
2.50.3
|
|
github.com/zitadel/zitadel
|
Go |
≥ 2.49.0
< 2.49.5
|
2.49.5
|
|
github.com/zitadel/zitadel
|
Go |
≥ 2.48.0
< 2.48.5
|
2.48.5
|
|
github.com/zitadel/zitadel
|
Go |
≥ 2.47.0
< 2.47.10
|
2.47.10
|
|
github.com/zitadel/zitadel
|
Go |
< 2.45.7
|
2.45.7
|
References
Frequently Asked Questions
What is CVE-2024-32967?
Which Github.com/zitadel/zitadel versions are affected?
What version fixes CVE-2024-32967?
Is github.com/zitadel/zitadel affected?
What is the CVSS score of CVE-2024-32967?
What CWE is associated with CVE-2024-32967?
How can I check Go dependencies for CVE-2024-32967?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q5qj-x2h5-3945",
"modified" : "2024-07-08T21:05:40Z",
"published" : "2024-05-01T16:36:04Z",
"aliases" : [ "CVE-2024-32967" ],
"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 >= [2.50.3](https://github.com/zitadel/zitadel/releases/tag/v2.50.3)\n2.49.x versions are fixed on >= [2.49.5](https://github.com/zitadel/zitadel/releases/tag/v2.49.5)\n2.48.x versions are fixed on >= [2.48.5](https://github.com/zitadel/zitadel/releases/tag/v2.48.5)\n2.47.x versions are fixed on >= [2.47.10](https://github.com/zitadel/zitadel/releases/tag/v2.47.10)\n2.46.x versions are fixed on >= [2.46.7](https://github.com/zitadel/zitadel/releases/tag/v2.46.7)\n2.45.x versions are fixed on >= [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)",
"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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/zitadel/zitadel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.50.0"
}, {
"fixed" : "2.50.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/zitadel/zitadel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.49.0"
}, {
"fixed" : "2.49.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/zitadel/zitadel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.48.0"
}, {
"fixed" : "2.48.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/zitadel/zitadel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.47.0"
}, {
"fixed" : "2.47.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/zitadel/zitadel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.45.7"
} ]
} ]
} ],
"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"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-01T16:36:04Z",
"nvd_published_at" : "2024-05-01T07:15:40Z"
}
}