{"answers":{"affected":"6 open source packages ship an affected version, including com.clickhouse:clickhouse-client, com.clickhouse:clickhouse-jdbc and com.clickhouse:clickhouse-r2dbc. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-23689 exists.","fix":"Upgrade com.clickhouse:clickhouse-client to 0.4.6 or later.","what":"CVE-2024-23689 is a high-severity vulnerability in clickhouse:java_libraries, published on 19 Jan 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-23689 and fix it if it is affected.\n\nWhat it is: CVE-2024-23689 is a high-severity vulnerability in clickhouse:java_libraries, published on 19 Jan 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-23689 exists.\n\nAffected packages and fixed versions:\n- com.clickhouse:clickhouse-client (Maven): affected all versions; fixed in 0.4.6\n- com.clickhouse:clickhouse-client (Maven): affected all versions; fixed in 0.4.6\n- com.clickhouse:clickhouse-jdbc (Maven): affected all versions; fixed in 0.4.6\n- com.clickhouse:clickhouse-jdbc (Maven): affected all versions; fixed in 0.4.6\n- com.clickhouse:clickhouse-r2dbc (Maven): affected all versions; fixed in 0.4.6\n- com.clickhouse:clickhouse-r2dbc (Maven): affected all versions; fixed in 0.4.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-23689/ (Markdown: https://insights.sbomify.com/CVE-2024-23689/index.md)","id":"CVE-2024-23689","markdown":"https://insights.sbomify.com/CVE-2024-23689/index.md","name":"CVE-2024-23689","record":{"aliases":["GHSA-g8ph-74m6-8m7r"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"ClickHouse Java client","requires_auth":"low_privilege","summary":"Attackers can read client certificate passwords from exception logs when SSL keys are configured, exposing sensitive credentials in ClickHouse Java libraries.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"java_libraries","vendor":"clickhouse"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"ClickHouse Client Certificate Password Exposure","id":"CVE-2024-23689","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":6,"n_references":6,"next":{"headline":"EOL Netgear FVS336Gv2 and FVS336Gv3 Telnet Configuration Backup Command Injection","id":"CVE-2024-23690"},"packages":[{"ecosystem":"Maven","fixed":["0.4.6"],"introduced":["0"],"last_affected":[],"package":"com.clickhouse:clickhouse-client","purl":null,"source":"GHSA-g8ph-74m6-8m7r"},{"ecosystem":"Maven","fixed":["0.4.6"],"introduced":["0"],"last_affected":[],"package":"com.clickhouse:clickhouse-client","purl":"pkg:maven/com.clickhouse/clickhouse-client","source":"GHSA-g8ph-74m6-8m7r"},{"ecosystem":"Maven","fixed":["0.4.6"],"introduced":["0"],"last_affected":[],"package":"com.clickhouse:clickhouse-jdbc","purl":null,"source":"GHSA-g8ph-74m6-8m7r"},{"ecosystem":"Maven","fixed":["0.4.6"],"introduced":["0"],"last_affected":[],"package":"com.clickhouse:clickhouse-jdbc","purl":"pkg:maven/com.clickhouse/clickhouse-jdbc","source":"GHSA-g8ph-74m6-8m7r"},{"ecosystem":"Maven","fixed":["0.4.6"],"introduced":["0"],"last_affected":[],"package":"com.clickhouse:clickhouse-r2dbc","purl":null,"source":"GHSA-g8ph-74m6-8m7r"},{"ecosystem":"Maven","fixed":["0.4.6"],"introduced":["0"],"last_affected":[],"package":"com.clickhouse:clickhouse-r2dbc","purl":"pkg:maven/com.clickhouse/clickhouse-r2dbc","source":"GHSA-g8ph-74m6-8m7r"}],"prev":{"headline":"Consensys Discovery Nonce Reuse","id":"CVE-2024-23688"},"products":["clickhouse:java_libraries"],"published":"2024-01-19","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-14","vendors":["clickhouse"]},"summary":"Attackers can read client certificate passwords from exception logs when SSL keys are configured, exposing sensitive credentials in ClickHouse Java libraries.","url":"https://insights.sbomify.com/CVE-2024-23689/"}