Divide-by-zero in Clickhouse's Gorilla compression codec when parsing a malicious query. The first byte of the compressed buffer is used in a modulo operation without being checked for 0.
                
            References
                    | Link | Resource | 
|---|---|
| https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms | Exploit Third Party Advisory | 
| https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms | Exploit Third Party Advisory | 
Configurations
                    History
                    25 Jun 2025, 20:49
| Type | Values Removed | Values Added | 
|---|---|---|
| First Time | Clickhouse clickhouse Clickhouse | |
| CPE | cpe:2.3:a:clickhouse:clickhouse:*:*:*:*:*:*:*:* | 
21 Nov 2024, 06:27
| Type | Values Removed | Values Added | 
|---|---|---|
| References | () https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms - Exploit, Third Party Advisory | 
22 Mar 2022, 14:58
| Type | Values Removed | Values Added | 
|---|---|---|
| CPE | cpe:2.3:a:yandex:clickhouse:*:*:*:*:*:*:*:* | |
| References | (MISC) https://jfrog.com/blog/7-rce-and-dos-vulnerabilities-found-in-clickhouse-dbms - Exploit, Third Party Advisory | |
| CWE | CWE-369 | |
| CVSS | v2 : v3 : | v2 : 5.0 v3 : 6.5 | 
14 Mar 2022, 23:15
| Type | Values Removed | Values Added | 
|---|---|---|
| New CVE | 
Information
                Published : 2022-03-14 23:15
Updated : 2025-06-25 20:49
NVD link : CVE-2021-42391
Mitre link : CVE-2021-42391
CVE.ORG link : CVE-2021-42391
JSON object : View
Products Affected
                clickhouse
- clickhouse
CWE
                
                    
                        
                        CWE-369
                        
            Divide By Zero
