CVE-2021-42388

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2021-42388
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-42388.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-42388
Related
Published
2022-03-14T23:15:07Z
Modified
2024-09-18T03:16:37.563905Z
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"
}