{"id":"CVE-2024-23689","aliases":["CVE-2024-23689","GHSA-g8ph-74m6-8m7r"],"related":[],"kind":"vulnerability","state":"published","title":"ClickHouse Client Certificate Password Exposure","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\nAs 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.\n\n### Details\nDuring 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.\n\n### Impact\nThis 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2023-05-12T20:18:51.000Z","modified":"2026-11-08T14:00:04.227Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","score":4.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-209"],"affected":[{"ranges":[{"type":"maven","introduced":"0","fixed":"0.4.6","status":"affected"}],"package":"com.clickhouse:clickhouse-r2dbc","source":"cvelist"},{"ranges":[{"type":"maven","introduced":"0","fixed":"0.4.6","status":"affected"}],"package":"com.clickhouse:clickhouse-jdbc","source":"cvelist"},{"ranges":[{"type":"maven","introduced":"0","fixed":"0.4.6","status":"affected"}],"package":"com.clickhouse:clickhouse-client","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.4.6"}],"ecosystem":"Maven","package":"com.clickhouse:clickhouse-client","purl":"pkg:maven/com.clickhouse/clickhouse-client","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.4.6"}],"ecosystem":"Maven","package":"com.clickhouse:clickhouse-jdbc","purl":"pkg:maven/com.clickhouse/clickhouse-jdbc","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.4.6"}],"ecosystem":"Maven","package":"com.clickhouse:clickhouse-r2dbc","purl":"pkg:maven/com.clickhouse/clickhouse-r2dbc","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.4.6"}],"vendor":"clickhouse","product":"java_libraries","cpe":"cpe:2.3:a:clickhouse:java_libraries:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ClickHouse/clickhouse-java/security/advisories/GHSA-g8ph-74m6-8m7r","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/ClickHouse/clickhouse-java/issues/1331","tags":["exploit","issue-tracking","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/ClickHouse/clickhouse-java/pull/1334","tags":["issue-tracking","patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/ClickHouse/clickhouse-java/releases/tag/v0.4.6","tags":["related","release-notes","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/advisories/GHSA-g8ph-74m6-8m7r","tags":["third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://vulncheck.com/advisories/vc-advisory-GHSA-g8ph-74m6-8m7r","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23689","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ClickHouse/clickhouse-java","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-05-09T23:56:00.497Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-23689","url":"https://www.cve.org/CVERecord?id=CVE-2024-23689","licence":"CVE Terms of Use","modified":"2026-11-08T14:00:04.227Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g8ph-74m6-8m7r","url":"https://github.com/advisories/GHSA-g8ph-74m6-8m7r","licence":"CC-BY-4.0","modified":"2026-07-08T06:53:07.664Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-23689","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23689","licence":"Public domain","modified":"2026-07-14T23:17:17.523Z"}],"updatedAt":"2026-11-25T22:58:36.247Z","epss":{"score":0.00676,"percentile":0.53507,"date":"2026-12-01T12:00:22.000Z"}}