CVE-2024-23689
ClickHouse Client Certificate Password Exposure
Exposure of sensitive information in exceptions in ClichHouse's clickhouse-r2dbc, com.clickhouse:clickhouse-jdbc, and com.clickhouse:clickhouse-client versions less than 0.4.6 allows unauthorized users to gain access to client certificate passwords via client exception logs. This occurs when 'sslkey' is specified and an exception, such as a ClickHouseException or SQLException, is thrown during database operations; the certificate password is then included in the logged exception message.
Fixes and workarounds
Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: VulnCheckFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: ADP: CVEFix
com.clickhouse:clickhouse-client (Maven): OSV reports a fixed version 0.4.6. Check the advisory for supported release branches.
Source: OSV GHSA-g8ph-74m6-8m7rFix
com.clickhouse:clickhouse-jdbc (Maven): OSV reports a fixed version 0.4.6. Check the advisory for supported release branches.
Source: OSV GHSA-g8ph-74m6-8m7rFix
com.clickhouse:clickhouse-r2dbc (Maven): OSV reports a fixed version 0.4.6. Check the advisory for supported release branches.
Source: OSV GHSA-g8ph-74m6-8m7rAffected products and versions
| Product | Versions | Authority |
|---|---|---|
com.clickhouse:clickhouse-r2dbc
maven |
≥ 0; < 0.4.6 (affected, maven)
Other versions: unaffected |
CNA: VulnCheck |
com.clickhouse:clickhouse-jdbc
maven |
≥ 0; < 0.4.6 (affected, maven)
Other versions: unaffected |
CNA: VulnCheck |
com.clickhouse:clickhouse-client
maven |
≥ 0; < 0.4.6 (affected, maven)
Other versions: unaffected |
CNA: VulnCheck |
com.clickhouse:clickhouse-clientcom.clickhouse:clickhouse-client
Maven |
0.3.2 (affected, Maven) 0.3.2-patch1 (affected, Maven) 0.3.2-patch10 (affected, Maven) 0.3.2-patch11 (affected, Maven) 0.3.2-patch2 (affected, Maven) 0.3.2-patch3 (affected, Maven) 0.3.2-patch4 (affected, Maven) 0.3.2-patch5 (affected, Maven) 0.3.2-patch6 (affected, Maven) 0.3.2-patch7 (affected, Maven) 0.3.2-patch8 (affected, Maven) 0.3.2-patch9 (affected, Maven) 0.3.2-test1 (affected, Maven) 0.3.2-test2 (affected, Maven) 0.3.2-test3 (affected, Maven) 0.4.0 (affected, Maven) 0.4.1 (affected, Maven) 0.4.2 (affected, Maven) 0.4.3 (affected, Maven) 0.4.4 (affected, Maven) 0.4.5 (affected, Maven) Ecosystem version events: introduced 0; fixed 0.4.6 Source events (ECOSYSTEM)
Other versions: unaffected |
OSV GHSA-g8ph-74m6-8m7r |
com.clickhouse:clickhouse-jdbccom.clickhouse:clickhouse-jdbc
Maven |
0.3.2 (affected, Maven) 0.3.2-patch1 (affected, Maven) 0.3.2-patch10 (affected, Maven) 0.3.2-patch11 (affected, Maven) 0.3.2-patch2 (affected, Maven) 0.3.2-patch3 (affected, Maven) 0.3.2-patch4 (affected, Maven) 0.3.2-patch5 (affected, Maven) 0.3.2-patch6 (affected, Maven) 0.3.2-patch7 (affected, Maven) 0.3.2-patch8 (affected, Maven) 0.3.2-patch9 (affected, Maven) 0.3.2-test1 (affected, Maven) 0.3.2-test2 (affected, Maven) 0.3.2-test3 (affected, Maven) 0.4.0 (affected, Maven) 0.4.1 (affected, Maven) 0.4.2 (affected, Maven) 0.4.3 (affected, Maven) 0.4.4 (affected, Maven) 0.4.5 (affected, Maven) Ecosystem version events: introduced 0; fixed 0.4.6 Source events (ECOSYSTEM)
Other versions: unaffected |
OSV GHSA-g8ph-74m6-8m7r |
com.clickhouse:clickhouse-r2dbccom.clickhouse:clickhouse-r2dbc
Maven |
0.4.0 (affected, Maven) 0.4.1 (affected, Maven) 0.4.2 (affected, Maven) 0.4.3 (affected, Maven) 0.4.4 (affected, Maven) 0.4.5 (affected, Maven) Ecosystem version events: introduced 0; fixed 0.4.6 Source events (ECOSYSTEM)
Other versions: unaffected |
OSV GHSA-g8ph-74m6-8m7r |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 8.8 high |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | ADP: CISA-ADP |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/ClickHouse/clickhouse-java/security/advisories/GHSA-g8ph-74m6-8m7rCNA: VulnCheck · vendor-advisory
- https://github.com/ClickHouse/clickhouse-java/issues/1331CNA: VulnCheck · issue-tracking
- https://github.com/ClickHouse/clickhouse-java/pull/1334CNA: VulnCheck · issue-tracking, patch
- https://github.com/ClickHouse/clickhouse-java/releases/tag/v0.4.6CNA: VulnCheck · related, release-notes
- https://github.com/advisories/GHSA-g8ph-74m6-8m7rCNA: VulnCheck · vendor-advisory
- https://vulncheck.com/advisories/vc-advisory-GHSA-g8ph-74m6-8m7rCNA: VulnCheck · third-party-advisory
- https://github.com/ClickHouse/clickhouse-java/security/advisories/GHSA-g8ph-74m6-8m7rADP: CVE · vendor-advisory, x_transferred
- https://github.com/ClickHouse/clickhouse-java/issues/1331ADP: CVE · issue-tracking, x_transferred
- https://github.com/ClickHouse/clickhouse-java/pull/1334ADP: CVE · patch, x_transferred
- https://github.com/ClickHouse/clickhouse-java/releases/tag/v0.4.6ADP: CVE · related, x_transferred
- https://github.com/advisories/GHSA-g8ph-74m6-8m7rADP: CVE · third-party-advisory, x_transferred
- https://vulncheck.com/advisories/vc-advisory-GHSA-g8ph-74m6-8m7rADP: CVE · third-party-advisory, x_transferred
- https://github.com/advisories/GHSA-g8ph-74m6-8m7rOSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-g8ph-74m6-8m7rOSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.