CVE-2019-16535 Memory corruption in ClickHouse

Critical 9.8 Published Updated

Attackers can achieve remote code execution or denial of service via the native protocol due to memory corruption flaws in ClickHouse decompression algorithms.

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

What is CVE-2019-16535?

CVE-2019-16535 is a critical memory corruption vulnerability in ClickHouse, published on 30 Dec 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In all versions of ClickHouse before 19.14, an OOB read, OOB write and integer underflow in decompression algorithms can be used to achieve RCE or DoS via native protocol.

Weakness: CWE-787, CWE-191, CWE-125

Which versions are affected by CVE-2019-16535?

It affects 1 product.

Products include Clickhouse Clickhouse.

How do I fix CVE-2019-16535?

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

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2019-16535 being exploited?

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

Sources

Also known as GHSA-x3fg-74w9-f5r4.

Is CVE-2019-16535 in your software?

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

Check your SBOMs for free