---
id: CVE-2024-23689
title: >-
  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 certificat…
summary: >-
  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 certificat…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-209
  - CWE-209
vendor: clickhouse
product: java_libraries
affected:
  - java_libraries < 0.4.6
patched:
  - java_libraries 0.4.6
published: '2024-01-19'
updated: '2026-07-14'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-23689'
references:
  - url: 'https://github.com/ClickHouse/clickhouse-java/issues/1331'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/ClickHouse/clickhouse-java/pull/1334'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/ClickHouse/clickhouse-java/releases/tag/v0.4.6'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/ClickHouse/clickhouse-java/security/advisories/GHSA-g8ph-74m6-8m7r
    label: disclosure@vulncheck.com
  - url: 'https://github.com/advisories/GHSA-g8ph-74m6-8m7r'
    label: disclosure@vulncheck.com
  - url: 'https://vulncheck.com/advisories/vc-advisory-GHSA-g8ph-74m6-8m7r'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/ClickHouse/clickhouse-java/issues/1331'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/ClickHouse/clickhouse-java/pull/1334'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/ClickHouse/clickhouse-java/releases/tag/v0.4.6'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/ClickHouse/clickhouse-java/security/advisories/GHSA-g8ph-74m6-8m7r
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/advisories/GHSA-g8ph-74m6-8m7r'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://vulncheck.com/advisories/vc-advisory-GHSA-g8ph-74m6-8m7r'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00676
epssPercentile: 0.50102
ingestedAt: '2026-07-14T23:40:04.967Z'
---

## Overview

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

- `java_libraries < 0.4.6`

## Remediation

Upgrade past the affected range:

- `java_libraries 0.4.6`
