CVE-2022-44010
High · 7.5CVSS
7.5
EPSS
1.0%
Published
Nov 23, 2023
CISA due date
—
Cloudanix analysis
Anyone on the network can send a specially made web request that knocks the ClickHouse database offline, so organizations should install the available software update to keep their data systems running.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A heap-based buffer overflow in the unauthenticated HTTP endpoint (default port 8123) allows a crafted request to overwrite memory and terminate the ClickHouse process, producing a denial-of-service condition with no confidentiality or integrity impact.
Why it matters to the business
Remote unauthenticated attackers can crash the database service at will, causing unplanned outages for analytics and data workloads; the issue has been public for nearly three years, carries low exploitation probability, and affects any organization running an unpatched ClickHouse deployment.
How an attack unfolds
An attacker locates the ClickHouse HTTP interface, crafts a malicious request that triggers the buffer overflow, and sends it without credentials; the server process crashes, requiring a restart to restore service.
How to fix it
Upgrade to ClickHouse 22.9.1.2603, 22.8.2.11, 22.7.4.16, 22.6.6.16, or 22.3.12.19, or apply commit 0b9272f8fdc8052d86f445be302b137b7d30e842 in the affected Git repository; restrict network access to the HTTP port until patched.
How to confirm the fix worked
Confirm the running binary reports a fixed version string; replay a known-safe malformed request against a test instance and verify the process remains stable.
Typical attack path
- Discover ClickHouse HTTP endpoint listening on TCP 8123
- Send a single specially crafted HTTP request containing the triggering payload
- Observe immediate process termination and service unavailability
How to detect it
Review system and application logs for abrupt ClickHouse process terminations correlated with inbound HTTP traffic on port 8123; examine access logs for unusually large or malformed request lines.
What your security team should do
- Apply one of the listed fixed versions immediately
- Place the HTTP endpoint behind an allow-list or reverse proxy
- Add process crash and restart alerts for the ClickHouse service
The record
An issue was discovered in ClickHouse before 22.9.1.2603. An attacker could send a crafted HTTP request to the HTTP Endpoint (usually listening on port 8123 by default), causing a heap-based buffer overflow that crashes the process. This does not require authentication. The fixed versions are 22.9.1.2603, 22.8.2.11, 22.7.4.16, 22.6.6.16, and 22.3.12.19.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | clickhouse | 0 | No fix |
| Debian:12 | clickhouse | 0 | No fix |
| Ubuntu:20.04:LTS | clickhouse | 0 | No fix |
| Ubuntu:24.04:LTS | clickhouse | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | clickhouse | 0 | No fix |
Related vulnerabilities
- CVE-2024-41436 ClickHouse v24.3.3.102 was discovered to contain a buffer overflow via the component… Also affects clickhouse
- CVE-2024-6873 It is possible to crash or redirect the execution flow of the ClickHouse server process… Also affects clickhouse
- CVE-2024-22412 ClickHouse is an open-source column-oriented database management system. Also affects clickhouse
- CVE-2023-48704 ClickHouse is an open-source column-oriented database management system that allows… Also affects clickhouse
- CVE-2023-48298 ClickHouse® is an open-source column-oriented database management system that allows… Also affects clickhouse
- CVE-2023-47118 ClickHouse® is an open-source column-oriented database management system that allows… Also affects clickhouse
- CVE-2022-44011 An issue was discovered in ClickHouse before 22.9.1.2603. Also affects clickhouse
- CVE-2026-111497 A buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c) in Google Brotli… CWE-787