8.8high
ClickHouse Client Certificate Password Exposure
- Severity
- 8.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.68% (higher than 53% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-g8ph-74m6-8m7r
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| com.clickhouse:clickhouse-r2dbc | before 0.4.6 | CVE List |
| com.clickhouse:clickhouse-jdbc | before 0.4.6 | CVE List |
| com.clickhouse:clickhouse-client | before 0.4.6 | CVE List |
| com.clickhouse:clickhouse-client (Maven) | before 0.4.6 | GitHub Advisory Database |
| com.clickhouse:clickhouse-jdbc (Maven) | before 0.4.6 | GitHub Advisory Database |
| com.clickhouse:clickhouse-r2dbc (Maven) | before 0.4.6 | GitHub Advisory Database |
| clickhouse java_libraries | before 0.4.6 | NVD |
All scores
| CISA-ADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 4.8medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
Summary
As initially reported in issue #1331, when client certificate authentication is enabled with password protection, the password (referred to as the client option sslkey) may be exposed in client exceptions (e.g., ClickHouseException or SQLException). This vulnerability can potentially lead to unauthorized access, data breaches, and violations of user privacy.
Details
During the handling of ClickHouseException, the client certificate password may be inadvertently exposed when sslkey is specified. This issue can arise when an exception is thrown during the execution of a query or a database operation. The client certificate password is then included in the exception message, which could be logged or exposed to unauthorized parties.
Impact
This vulnerability enables an attacker with access to client exception error messages or logs to obtain client certificate passwords, potentially allowing unauthorized access to sensitive information, data manipulation, and denial of service attacks. The extent of the risk depends on the specific implementation and usage of the affected systems. However, any exposure of client certificate passwords should be treated as a high-priority security concern.
NVD (es)
La exposición de información confidencial en excepciones en las versiones clickhouse-r2dbc, com.clickhouse:clickhouse-jdbc y com.clickhouse:clickhouse-client de ClichHouse inferiores a 0.4.6 permite a usuarios no autorizados obtener acceso a las contraseñas de los certificados del cliente a través de los registros de excepciones del cliente. Esto ocurre cuando se especifica 'sslkey' y se genera una excepción, como ClickHouseException o SQLException, durante las operaciones de la base de datos; la contraseña del certificado se incluye en el mensaje de excepción registrado.
References
| https://github.com/ClickHouse/clickhouse-java/security/advisories/GHSA-g8ph-74m6-8m7r | vendor-advisory, web | |
| https://github.com/ClickHouse/clickhouse-java/issues/1331 | exploit, issue-tracking, web | |
| https://github.com/ClickHouse/clickhouse-java/pull/1334 | issue-tracking, patch, web | |
| https://github.com/ClickHouse/clickhouse-java/releases/tag/v0.4.6 | related, release-notes, web | |
| https://github.com/advisories/GHSA-g8ph-74m6-8m7r | third-party-advisory, vendor-advisory | |
| https://vulncheck.com/advisories/vc-advisory-GHSA-g8ph-74m6-8m7r | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-23689 | advisory | |
| https://github.com/ClickHouse/clickhouse-java | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-23689 changed 2026-11-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-g8ph-74m6-8m7r changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2024-23689 changed 2026-07-14 | Public domain |