SB2024101532 - Multiple vulnerabilities in clickhouse-java
Published: October 15, 2024 Updated: November 18, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 vulnerabilities.
1) Information Exposure Through an Error Message (CVE-ID: CVE-2024-23689)
CWE-ID: CWE-209 - Information Exposure Through an Error Message
CVSSv4: 2.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows a local user to gain access to client certificate passwords.
The vulnerability 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. A local user can trick the victim into opening a specially crafted file and gain access to client certificate passwords via client exception logs
2) Information Exposure Through an Error Message (CVE-ID: N/A)
CWE-ID: CWE-209 - Information Exposure Through an Error Message
CVSSv4: 2.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows a local user to obtain client certificate passwords, potentially enabling unauthorized access, data manipulation, and denial of service.
The vulnerability exists due to inclusion of sensitive information in exception messages in clickhouse-java when a query or database operation fails with password-protected client certificate authentication enabled and sslkey specified. A local user can read exposed client exception messages or logs to retrieve the client certificate password and potentially gain unauthorized access.
Remediation
Install update from vendor's website.
References
- https://github.com/ClickHouse/clickhouse-java/security/advisories/GHSA-g8ph-74m6-8m7r
- 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