CVE-2019-15024 Path traversal in ClickHouse

Medium 6.5 Published Updated

An attacker with ZooKeeper write access can force ClickHouse replicas to write files to arbitrary filesystem paths, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2019-15024?

CVE-2019-15024 is a medium-severity path traversal vulnerability in ClickHouse, published on 30 Dec 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In all versions of ClickHouse before 19.14.3, an attacker having write access to ZooKeeper and who is able to run a custom server available from the network where ClickHouse runs, can create a custom-built malicious server that will act as a ClickHouse replica and register it in ZooKeeper. When another replica will fetch data part from the malicious replica, it can force clickhouse-server to write to arbitrary path on filesystem.

Which versions are affected by CVE-2019-15024?

It affects 1 product.

Products include Clickhouse Clickhouse.

How do I fix CVE-2019-15024?

No fix has been published for CVE-2019-15024 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2019-15024 being exploited?

There is no known exploitation of CVE-2019-15024 in the wild and no public exploit code.

Sources

Also known as GHSA-vv4f-6f99-x599.

Is CVE-2019-15024 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free