Every CVE Search/ Get API key

CVE-2024-23689

ClickHouse Client Certificate Password Exposure

8.8 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.68%Up 0.6 points since Jan 24, 2024
90%50%10%1%

What each source reports

NVD Score used 8.8

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.

Record
CVE-2024-23689
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-209
Updated
2026-11-02
CVE List 8.8

ClickHouse Client Certificate Password Exposure

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.

Record
CVE-2024-23689
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-209
Updated
2026-11-02
EUVDEUVD-2024-0233 8.8

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.

Record
EUVD-2024-0233
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-3p77-wg4c-qm24 8.8

Duplicate Advisory: Exposure of sensitive information in ClickHouse

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-g8ph-74m6-8m7r. This link is maintained to preserve external references.

Original Description

Exposure of sensitive information in exceptions in ClickHouse'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.

Record
GHSA-3p77-wg4c-qm24
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-209
Updated
2026-11-02
GitHub AdvisoriesGHSA-g8ph-74m6-8m7r 4.8

ClickHouse vulnerable to client certificate password exposure in client exception

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.

Record
GHSA-g8ph-74m6-8m7r
CVSS 3.1
4.8 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Weakness
CWE-209
Updated
2026-11-02
OSV 8.8

ClickHouse Client Certificate Password Exposure

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.

Record
CVE-2024-23689
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-209
Updated
2026-11-02
OSVGHSA-3p77-wg4c-qm24 8.8

Duplicate Advisory: Exposure of sensitive information in ClickHouse

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-g8ph-74m6-8m7r. This link is maintained to preserve external references.

Original Description

Exposure of sensitive information in exceptions in ClickHouse'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.

Record
GHSA-3p77-wg4c-qm24
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-209
Updated
2026-11-02
OSVGHSA-g8ph-74m6-8m7r 4.8

ClickHouse vulnerable to client certificate password exposure in client exception

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.

Record
GHSA-g8ph-74m6-8m7r
CVSS 3.1
4.8 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Weakness
CWE-209
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
com.clickhouse:clickhouse-client
Maven
before 0.4.6
0.4.6
com.clickhouse:clickhouse-jdbc
Maven
before 0.4.6
0.4.6
com.clickhouse:clickhouse-r2dbc
Maven
before 0.4.6
0.4.6
com.clickhouse:clickhouse-client
Maven
before 0.4.6, plus listed versions
0.3.20.3.2-patch10.3.2-patch100.3.2-patch110.3.2-patch2
Show 16 moreShow less
0.3.2-patch30.3.2-patch40.3.2-patch50.3.2-patch60.3.2-patch70.3.2-patch80.3.2-patch90.3.2-test10.3.2-test20.3.2-test30.4.00.4.10.4.20.4.30.4.40.4.5
0.4.6
com.clickhouse:clickhouse-jdbc
Maven
before 0.4.6, plus listed versions
0.3.20.3.2-patch10.3.2-patch100.3.2-patch110.3.2-patch2
Show 16 moreShow less
0.3.2-patch30.3.2-patch40.3.2-patch50.3.2-patch60.3.2-patch70.3.2-patch80.3.2-patch90.3.2-test10.3.2-test20.3.2-test30.4.00.4.10.4.20.4.30.4.40.4.5
0.4.6
com.clickhouse:clickhouse-r2dbc
Maven
before 0.4.6, plus listed versions
0.4.00.4.10.4.20.4.30.4.40.4.5
0.4.6

History

History
RecordedChangedSources
affected
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-23689 is a high vulnerability (CVSS 8.8) in Clickhouse Java Libraries, published May 12, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.68%, the 52nd percentile. Fixed in com.clickhouse:clickhouse-client 0.4.6.

References

Show 5 moreShow less
MoveEnter Open