CVE-2024-6873
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIt is possible to crash or redirect the execution flow of the ClickHouse server process from an unauthenticated vector by sending a specially crafted request to the ClickHouse server native interface. This redirection is limited to what is available within a 256-byte range of memory at the time of execution, and no known remote code execution (RCE) code has been produced or exploited. Fixes have been merged to all currently supported version of ClickHouse. If you are maintaining your own forked version of ClickHouse or using an older version and cannot upgrade, the fix for this vulnerability can be found in this commit https://github.com/ClickHouse/ClickHouse/pull/64024 .
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceClickHouse server contains a vulnerability in its native protocol interface that allows unauthenticated attackers to crash the server or redirect execution flow within a limited 256-byte memory range by sending specially crafted requests. No remote code execution has been demonstrated.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- High
- Privileges
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Confirm ClickHouse server is runningRun 'ps aux | grep clickhouse' or check if port 9000 (default native protocol port) is listening with 'netstat -tlnp | grep 9000'Affected if ClickHouse is running and accepting native protocol connections on port 9000
-
Identify installed ClickHouse versionRun 'clickhouse-client --version' or 'clickhouse-server --version', or query 'SELECT version()' via any client connectionAffected if The installed version is older than the fixed release and matches the affected version range
-
Verify native protocol interface is exposedCheck if port 9000 (default native protocol) is bound and accessible with 'nc -zv localhost 9000' or review ClickHouse config.xml for '<port>9000</port>' under the protocol sectionAffected if The native protocol port 9000 is open and accepting connections
-
Check for unauthenticated native protocol accessAttempt a basic native protocol connection using 'clickhouse-client --host <target> --port 9000' without credentials to verify the interface accepts unauthenticated requestsAffected if The native protocol accepts connections without authentication
You are affected if ClickHouse is running with the native protocol enabled (port 9000) and the installed version falls within the vulnerable range prior to the PR #64024 fix.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade ClickHouse to a version containing the fix (all currently supported versions), or for forked/older versions, apply the fix from commit PR #64024.
Latest supported ClickHouse release (contact ClickHouse for current supported versions)
- Upgrade to the latest supported release of ClickHouse server to obtain the vulnerability fix
- If using a forked version or older unsupported release, apply the fix from GitHub PR #64024: https://github.com/ClickHouse/ClickHouse/pull/64024
- After upgrading, verify the ClickHouse server native interface is not exposed to untrusted networks if possible
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation4.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,648.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-6873 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2024-6873 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data