Specially crafted request could caused undefined behaviour which may lead to Remote Code Execution.
It 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 .
Affected products
- <v24.3.4.147-lts
- <v24.6.1.4423-stable
- <v24.5.1.1763
- <v24.4.2.141-stable
- <v23.8.15.35-lts
Matching in nixpkgs
pkgs.clickhouse
Column-oriented database management system
-
nixos-unstable -
- nixpkgs-unstable 25.8.2.29-lts
pkgs.clickhouse-cli
Third-party client for the Clickhouse DBMS server
-
nixos-unstable -
- nixpkgs-unstable 0.3.9
pkgs.clickhouse-lts
Column-oriented database management system
-
nixos-unstable -
- nixpkgs-unstable 25.8.2.29-lts
pkgs.clickhouse-backup
Tool for easy ClickHouse backup and restore using object storage for backup files
-
nixos-unstable -
- nixpkgs-unstable 2.6.33
pkgs.python312Packages.clickhouse-cli
Third-party client for the Clickhouse DBMS server
-
nixos-unstable -
- nixpkgs-unstable 0.3.9
pkgs.python313Packages.clickhouse-cli
Third-party client for the Clickhouse DBMS server
-
nixos-unstable -
- nixpkgs-unstable 0.3.9
pkgs.python312Packages.clickhouse-driver
Python driver with native interface for ClickHouse
-
nixos-unstable -
- nixpkgs-unstable 0.2.7
pkgs.python313Packages.clickhouse-driver
Python driver with native interface for ClickHouse
-
nixos-unstable -
- nixpkgs-unstable 0.2.7
pkgs.python312Packages.clickhouse-connect
ClickHouse Database Core Driver for Python, Pandas, and Superset
-
nixos-unstable -
- nixpkgs-unstable 0.8.18
pkgs.python313Packages.clickhouse-connect
ClickHouse Database Core Driver for Python, Pandas, and Superset
-
nixos-unstable -
- nixpkgs-unstable 0.8.18
pkgs.python312Packages.clickhouse-cityhash
Python-bindings for CityHash, a fast non-cryptographic hash algorithm
-
nixos-unstable -
- nixpkgs-unstable 1.0.2.4
pkgs.python313Packages.clickhouse-cityhash
Python-bindings for CityHash, a fast non-cryptographic hash algorithm
-
nixos-unstable -
- nixpkgs-unstable 1.0.2.4
pkgs.grafanaPlugins.grafana-clickhouse-datasource
Connects Grafana to ClickHouse
-
nixos-unstable -
- nixpkgs-unstable 4.8.2
Package maintainers
-
@mbalatsko Maksym Balatsko <mbalatsko@gmail.com>
-
@orivej Orivej Desh <orivej@gmx.fr>
-
@thevar1able Konstantin Bogdanov <var1able+nixpkgs@var1able.network>
-
@devusb Morgan Helton <mhelton@devusb.us>
-
@bobrik Ivan Babrou <nixpkgs@ivan.computer>
-
@majiru Jacob Moody <moody@posixcafe.org>
-
@breakds Break Yang <breakds@gmail.com>
-
@cpcloud Phillip Cloud