CVE-2021-43305

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2021-43305
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43305.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-43305
Related
Published
2022-03-14T23:15:08Z
Modified
2024-09-18T03:16:43.535557Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Heap buffer overflow in Clickhouse's LZ4 compression codec when parsing a malicious query. There is no verification that the copy operations in the LZ4::decompressImpl loop and especially the arbitrary copy operation wildCopy<copy_amount>(op, ip, copy_end), don’t exceed the destination buffer’s limits. This issue is very similar to CVE-2021-43304, but the vulnerable copy operation is in a different wildCopy call.

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"
}