CVE-2024-23689 json
ClickHouse Client Certificate Password Exposure
published 2023-05-12 3 y ago modified 2026-11-08 24 h ago also EUVD-2024-0233 , GHSA-g8ph-74m6-8m7r
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven com.clickhouse:clickhouse-client 0.4.6
- maven com.clickhouse:clickhouse-jdbc 0.4.6
- maven com.clickhouse:clickhouse-r2dbc 0.4.6
- clickhouse java_libraries 0.4.6
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
0.68% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/ClickHouse/clickhouse-java/issues/1331 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 4.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.clickhouse:clickhouse-client | <0.4.6 |
0.4.6 |
| maven | com.clickhouse:clickhouse-jdbc | <0.4.6 |
0.4.6 |
| maven | com.clickhouse:clickhouse-r2dbc | <0.4.6 |
0.4.6 |
Classification
- Weakness
-
- CWE-209 Generation of Error Message Containing Sensitive Information
References
-
github.com
/ClickHouse/clickhouse-java/pull/1334
issue-tracking, patch, web
-
github.com
/ClickHouse/clickhouse-java/issues/1331
issue-tracking, web, exploit
-
github.com
/ClickHouse/clickhouse-java/security/advisories/GHSA-g8ph-74m6-8m7r
vendor-advisory, web
-
github.com
/advisories/GHSA-g8ph-74m6-8m7r
vendor-advisory, third-party-advisory
-
github.com
/ClickHouse/clickhouse-java/releases/tag/v0.4.6
related, release-notes, web
-
vulncheck.com
/advisories/vc-advisory-GHSA-g8ph-74m6-8m7r
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2024-23689
advisory
-
github.com
/ClickHouse/clickhouse-java
package
Sources
- CVE List CVE-2024-23689
- GitHub Advisory GHSA-g8ph-74m6-8m7r
- NVD CVE-2024-23689
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.