Skip to content
Heist/ feed
Back to feed
High

ClickHouse Client Certificate Password Exposure

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-23689
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 02:12 UTC · Revision 1

Source evidence

ClickHouse Client Certificate Password Exposure

core-osv · Original source

Published 19 Jan 2024, 21:02 UTC

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.

osv:CVE-2024-23689
Complete source record
{
  "id": "e5b9d1f42ae934d34797924dc41f81bbb9ebd7be9d9d32fe592b82e23d5c7f1b",
  "url": "https://osv.dev/vulnerability/CVE-2024-23689",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ClickHouse Client Certificate Password Exposure",
    "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 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.",
    "evidence": "osv:CVE-2024-23689",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-23689",
      "aliases": [
        "CVE-2024-23689",
        "GHSA-g8ph-74m6-8m7r"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/clickhouse/clickhouse-java",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "dd91e1776b94a30e32fecf9c82354685295169a6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.4.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "dd91e1776b94a30e32fecf9c82354685295169a6"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v0.4.6"
                  },
                  {
                    "cpe": "cpe:2.3:a:clickhouse:java_libraries:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.4.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.4.5",
            "v0.4.4",
            "v0.4.3",
            "v0.4.2",
            "v0.4.1",
            "v0.4.0",
            "v0.2.5",
            "release_0.2.4",
            "release_0.2.3",
            "0.2.2",
            "release_0.2",
            "release_0.1.55",
            "release_0.1.54",
            "release_0.1.53",
            "release_0.1.52",
            "release_0.1.51",
            "release_0.1.50",
            "release_0.1.48",
            "release_0.1.45",
            "release_0.1.47",
            "release_0.1.46",
            "release_0.1.44",
            "release_0.1.43",
            "release_0.1.42",
            "release_0.1.41",
            "release_0.1.40",
            "release_0.1.39",
            "release_0.1.38",
            "release_0.1.37",
            "release_0.1.36",
            "release_0.1.34",
            "release_0.1.33",
            "release_0.1.32",
            "release_0.1.31",
            "release_0.1.29",
            "release_0.1.28",
            "release_0.1.27",
            "release_0.1.26",
            "release_0.1.25",
            "release_0.1.24",
            "release_0.1.23",
            "release_0.1.21",
            "release_0.1.22",
            "release_0.1.20",
            "release_0.1.17",
            "release_0.1.19",
            "release_0.1.18",
            "release_0.1.16",
            "release_0.1.15",
            "release_0.1.14",
            "release_0.1.13"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-23689.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.874825355Z",
      "provider": "osv",
      "references": [
        "https://github.com/ClickHouse/clickhouse-java/releases/tag/v0.4.6",
        "https://repo.maven.apache.org/maven2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23689.json",
        "https://github.com/ClickHouse/clickhouse-java/security/advisories/GHSA-g8ph-74m6-8m7r",
        "https://github.com/advisories/GHSA-g8ph-74m6-8m7r",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-23689",
        "https://vulncheck.com/advisories/vc-advisory-GHSA-g8ph-74m6-8m7r",
        "https://github.com/ClickHouse/clickhouse-java/issues/1331",
        "https://github.com/ClickHouse/clickhouse-java/pull/1334"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-209"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23689.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-23689",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 509427,
  "published_at": "2024-01-19T21:02:29.558+00:00"
}