{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-23689",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2024-01-19T17:35:14.200Z",
        "datePublished": "2024-01-19T21:02:29.558Z",
        "dateUpdated": "2024-08-01T23:06:25.396Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "collectionURL": "https://repo.maven.apache.org/maven2",
                    "defaultStatus": "unaffected",
                    "packageName": "com.clickhouse:clickhouse-r2dbc",
                    "versions": [
                        {
                            "lessThan": "0.4.6",
                            "status": "affected",
                            "version": "0",
                            "versionType": "maven"
                        }
                    ]
                },
                {
                    "collectionURL": "https://repo.maven.apache.org/maven2",
                    "defaultStatus": "unaffected",
                    "packageName": "com.clickhouse:clickhouse-jdbc",
                    "versions": [
                        {
                            "lessThan": "0.4.6",
                            "status": "affected",
                            "version": "0",
                            "versionType": "maven"
                        }
                    ]
                },
                {
                    "collectionURL": "https://repo.maven.apache.org/maven2",
                    "defaultStatus": "unaffected",
                    "packageName": "com.clickhouse:clickhouse-client",
                    "versions": [
                        {
                            "lessThan": "0.4.6",
                            "status": "affected",
                            "version": "0",
                            "versionType": "maven"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>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.</p>"
                        }
                    ],
                    "value": "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.\n\n"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-209",
                            "description": "CWE-209 Generation of Error Message Containing Sensitive Information",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2024-01-19T21:02:29.558Z"
            },
            "references": [
                {
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://github.com/ClickHouse/clickhouse-java/security/advisories/GHSA-g8ph-74m6-8m7r"
                },
                {
                    "tags": [
                        "issue-tracking"
                    ],
                    "url": "https://github.com/ClickHouse/clickhouse-java/issues/1331"
                },
                {
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/ClickHouse/clickhouse-java/pull/1334"
                },
                {
                    "tags": [
                        "related"
                    ],
                    "url": "https://github.com/ClickHouse/clickhouse-java/releases/tag/v0.4.6"
                },
                {
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://github.com/advisories/GHSA-g8ph-74m6-8m7r"
                },
                {
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://vulncheck.com/advisories/vc-advisory-GHSA-g8ph-74m6-8m7r"
                }
            ],
            "source": {
                "discovery": "INTERNAL"
            },
            "title": "ClickHouse Client Certificate Password Exposure"
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-01T23:06:25.396Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://github.com/ClickHouse/clickhouse-java/security/advisories/GHSA-g8ph-74m6-8m7r"
                    },
                    {
                        "tags": [
                            "issue-tracking",
                            "x_transferred"
                        ],
                        "url": "https://github.com/ClickHouse/clickhouse-java/issues/1331"
                    },
                    {
                        "tags": [
                            "patch",
                            "x_transferred"
                        ],
                        "url": "https://github.com/ClickHouse/clickhouse-java/pull/1334"
                    },
                    {
                        "tags": [
                            "related",
                            "x_transferred"
                        ],
                        "url": "https://github.com/ClickHouse/clickhouse-java/releases/tag/v0.4.6"
                    },
                    {
                        "tags": [
                            "third-party-advisory",
                            "x_transferred"
                        ],
                        "url": "https://github.com/advisories/GHSA-g8ph-74m6-8m7r"
                    },
                    {
                        "tags": [
                            "third-party-advisory",
                            "x_transferred"
                        ],
                        "url": "https://vulncheck.com/advisories/vc-advisory-GHSA-g8ph-74m6-8m7r"
                    }
                ]
            }
        ]
    }
}