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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | com.clickhouse:clickhouse-r2dbc | < 0.4.6 | 0.4.6 |
| — | com.clickhouse:clickhouse-jdbc | < 0.4.6 | 0.4.6 |
| — | com.clickhouse:clickhouse-client | < 0.4.6 | 0.4.6 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | com.clickhouse:clickhouse-client | < 0.4.6 | 0.4.6 | GHSA-g8ph-74m6-8m7r |
| Maven | com.clickhouse:clickhouse-jdbc | < 0.4.6 | 0.4.6 | GHSA-g8ph-74m6-8m7r |
| Maven | com.clickhouse:clickhouse-r2dbc | < 0.4.6 | 0.4.6 | GHSA-g8ph-74m6-8m7r |
References
- GitHub Security Advisory (GHSA-g8ph-74m6-8m7r) vendor-advisory
- https://github.com/ClickHouse/clickhouse-java/issues/1331 issue-tracking
- https://github.com/ClickHouse/clickhouse-java/pull/1334 issue-tracking patch
- clickhouse-java 0.4.6 Release Notes related release-notes
- GitHub Security Advisory (GHSA-g8ph-74m6-8m7r) vendor-advisory
- https://vulncheck.com/advisories/vc-advisory-GHSA-g8ph-74m6-8m7r third-party-advisory