DEBIAN-CVE-2021-42388

Source
https://security-tracker.debian.org/tracker/CVE-2021-42388
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-42388.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2021-42388
Upstream
Published
2022-03-14T23:15:07.970Z
Modified
2025-11-17T04:23:09.665674Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / clickhouse

Package

Name
clickhouse
Purl
pkg:deb/debian/clickhouse?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
18.16.1+ds-7.2+deb11u1

Affected versions

18.*

18.16.1+ds-7.2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / clickhouse

Package

Name
clickhouse
Purl
pkg:deb/debian/clickhouse?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
18.16.1+ds-7.3

Ecosystem specific

{
    "urgency": "not yet assigned"
}