CVE-2021-42387

CVSS V2 Medium 5.5 CVSS V3 High 8.1
Description
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 upper bounds of the source of the copy operation.
Overview
  • CVE ID
  • CVE-2021-42387
  • Assigner
  • reefs@jfrog.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2022-03-14T23:15:07
  • Last Modified Date
  • 2022-12-03T02:47:06
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:yandex:clickhouse:*:*:*:*:*:*:*:* 1 OR 21.10.2.15
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* 1 OR
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:S/C:P/I:N/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • SINGLE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • NONE
  • Availability Impact
  • PARTIAL
  • Base Score
  • 5.5
  • Severity
  • MEDIUM
  • Exploitability Score
  • 8
  • Impact Score
  • 4.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • LOW
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • HIGH
  • Base Score
  • 8.1
  • Base Severity
  • HIGH
  • Exploitability Score
  • 2.8
  • Impact Score
  • 5.2
References
History
Created Old Value New Value Data Type Notes
2022-05-10 15:44:59 Added to TrackCVE
2022-12-06 12:18:23 security@jfrog.com reefs@jfrog.com CVE Assigner updated
2022-12-06 12:18:23 2022-03-14T23:15Z 2022-03-14T23:15:07 CVE Published Date updated
2022-12-06 12:18:23 2022-12-03T02:47:06 CVE Modified Date updated
2022-12-06 12:18:23 Analyzed Vulnerability Status updated
2022-12-06 12:18:28 References updated