ClickHouse Client Certificate Password Exposure
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-209.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | com.clickhouse:clickhouse-r2dbc | before 0.4.6 | 0.4.6 | Patch available | CNA |
| — | com.clickhouse:clickhouse-jdbc | before 0.4.6 | 0.4.6 | Patch available | CNA |
| — | com.clickhouse:clickhouse-client | before 0.4.6 | 0.4.6 | Patch available | CNA |
| — | com.clickhouse:clickhouse-client (Maven) | before 0.4.6 | 0.4.6 | Patch available | GHSA-g8ph-74m6-8m7r |
| — | com.clickhouse:clickhouse-jdbc (Maven) | before 0.4.6 | 0.4.6 | Patch available | GHSA-g8ph-74m6-8m7r |
| — | com.clickhouse:clickhouse-r2dbc (Maven) | before 0.4.6 | 0.4.6 | Patch available | GHSA-g8ph-74m6-8m7r |
- com.clickhouse:clickhouse-r2dbc Vendor— Affected before 0.4.6 Fixed in 0.4.6 Patch available CNA
- com.clickhouse:clickhouse-jdbc Vendor— Affected before 0.4.6 Fixed in 0.4.6 Patch available CNA
- com.clickhouse:clickhouse-client Vendor— Affected before 0.4.6 Fixed in 0.4.6 Patch available CNA
- com.clickhouse:clickhouse-client (Maven) Vendor— Affected before 0.4.6 Fixed in 0.4.6 Patch available GHSA-g8ph-74m6-8m7r
- com.clickhouse:clickhouse-jdbc (Maven) Vendor— Affected before 0.4.6 Fixed in 0.4.6 Patch available GHSA-g8ph-74m6-8m7r
- com.clickhouse:clickhouse-r2dbc (Maven) Vendor— Affected before 0.4.6 Fixed in 0.4.6 Patch available GHSA-g8ph-74m6-8m7r
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:clickhouse:java_libraries:*:*:*:*:*:*:*:* | before 0.4.6 | Vulnerable | ClickHouse |
- cpe:2.3:a:clickhouse:java_libraries:*:*:*:*:*:*:*:* Versions before 0.4.6 Vulnerable ·ClickHouse
Remediation
- Fix · CNA com.clickhouse:clickhouse-r2dbc Fixed in 0.4.6
- Fix · CNA com.clickhouse:clickhouse-jdbc Fixed in 0.4.6
- Fix · CNA com.clickhouse:clickhouse-client Fixed in 0.4.6
- Fix · GHSA-g8ph-74m6-8m7r com.clickhouse:clickhouse-client (Maven) Fixed in 0.4.6 Advisory →
- Fix · GHSA-g8ph-74m6-8m7r com.clickhouse:clickhouse-jdbc (Maven) Fixed in 0.4.6 Advisory →
- Fix · GHSA-g8ph-74m6-8m7r com.clickhouse:clickhouse-r2dbc (Maven) Fixed in 0.4.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-23689
- 2026-10-03 Alias added: GHSA-g8ph-74m6-8m7r
References
Advisory 3
Sources
- CVE-2024-23689 · CVE Program
- CVE-2024-23689 · NVD
- FIRST EPSS
- GHSA-g8ph-74m6-8m7r · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences