Vulnerability · Published Jan 19, 2024 · Assigned by VulnCheck

CVE-2024-23689ClickHouse Client Certificate Password Exposure

High 8.8

In plain English

A high-severity security flaw in com.clickhouse:clickhouse-client. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.7%top 47.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavencom.clickhouse:clickhouse-client0.4.6GHSA-g8ph-74m6-8m7r
Mavencom.clickhouse:clickhouse-jdbc0.4.6GHSA-g8ph-74m6-8m7r
Mavencom.clickhouse:clickhouse-r2dbc0.4.6GHSA-g8ph-74m6-8m7r

Affected products (as reported)

VendorProductVersions
com.clickhouse:clickhouse-r2dbc 0 – before 0.4.6
com.clickhouse:clickhouse-jdbc 0 – before 0.4.6
com.clickhouse:clickhouse-client 0 – before 0.4.6

Weakness: CWE-209 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References