Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2024-41436
ClickHouse vulnerability analysis and mitigation

Overview

A buffer overflow vulnerability was discovered in ClickHouse version 24.3.3.102, specifically in the DB::evaluateConstantExpressionImpl component. The vulnerability was identified and reported by researchers from the BASS team at the School of Cyber Science and Technology at Beihang University (GitHub Issue).

Technical details

The vulnerability occurs in the DB::evaluateConstantExpressionImpl component, which uses the old analyzer unconditionally. The issue stems from the component's failure to support the 'allow_experimental_analyzer' setting properly. When triggered, it can lead to a segmentation fault due to a NULL pointer read access (GitHub POC). The vulnerability has been assigned a CVSS v3.1 base score of 7.5 HIGH with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The exploitation of this vulnerability can result in database crashes and denial of service attacks. When triggered, it causes the database to experience segmentation faults, potentially disrupting database operations and affecting service availability (GitHub POC).

Exploitability

The vulnerability can be triggered through specific SQL queries involving distributed tables. A proof of concept has been published demonstrating how the vulnerability can be exploited through carefully crafted INSERT operations into distributed tables (GitHub Issue).

Mitigation and workarounds

A pull request has been created to address this vulnerability, suggesting that the DB::evaluateConstantExpressionImpl function should be rewritten to properly support the 'allow_experimental_analyzer' setting (GitHub Issue).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Affected

bookworm

clickhouse

Affected

bullseye

clickhouse

Affected

SourceThis report was generated using AI

Related ClickHouse vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2019-16536HIGH8.2
  • ClickHouse logoClickHouse
  • clickhouse
NoYesMay 21, 2025
CVE-2024-6873HIGH8.1
  • ClickHouse logoClickHouse
  • clickhouse
NoNoAug 01, 2024
CVE-2025-1385HIGH7.5
  • ClickHouse logoClickHouse
  • clickhouse
NoNoMar 20, 2025
CVE-2024-41436HIGH7.5
  • ClickHouse logoClickHouse
  • clickhouse
NoYesSep 03, 2024
CVE-2025-52969NONEN/A
  • ClickHouse logoClickHouse
  • clickhouse
NoNoJun 23, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management