GHSA-3p77-wg4c-qm24
Duplicate Advisory: Exposure of sensitive information in ClickHouse
Impact
## 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.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | com.clickhouse:clickhouse-r2dbc | < 0.4.6 | 0.4.6 |
| maven | com.clickhouse:clickhouse-jdbc | < 0.4.6 | 0.4.6 |
| maven | com.clickhouse:clickhouse-client | < 0.4.6 | 0.4.6 |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-3p77-wg4c-qm24
- https://github.com/ClickHouse/clickhouse-java/security/advisories/GHSA-g8ph-74m6-8m7r
- https://nvd.nist.gov/vuln/detail/CVE-2024-23689
- https://github.com/ClickHouse/clickhouse-java/issues/1331
- https://github.com/ClickHouse/clickhouse-java/pull/1334
- https://github.com/ClickHouse/clickhouse-java/releases/tag/v0.4.6
- https://github.com/advisories/GHSA-g8ph-74m6-8m7r
- https://vulncheck.com/advisories/vc-advisory-GHSA-g8ph-74m6-8m7r