Out-of-bounds Read Affecting clickhouse package, versions <18.16.1+ds-4+deb10u1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.1% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN10-CLICKHOUSE-2432922
  • published25 Mar 2022
  • disclosed14 Mar 2022

Introduced: 14 Mar 2022

CVE-2021-42388  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Debian:10 clickhouse to version 18.16.1+ds-4+deb10u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream clickhouse package and not the clickhouse package as distributed by Debian. See How to fix? for Debian:10 relevant fixed versions and status.

Heap out-of-bounds read in Clickhouse's LZ4 compression codec when parsing a malicious query. As part of the LZ4::decompressImpl() loop, a 16-bit unsigned user-supplied value ('offset') is read from the compressed data. The offset is later used in the length of a copy operation, without checking the lower bounds of the source of the copy operation.

CVSS Scores

version 3.1