CVE-2020-1937 SQL Injection in Kylin
Attackers can execute malicious database queries via SQL injection in Apache Kylin RESTful APIs, potentially compromising data integrity and confidentiality.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-1937?
CVE-2020-1937 is a high-severity SQL injection vulnerability in Apache Kylin, published on 24 Feb 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Kylin has some restful apis which will concatenate SQLs with the user input string, a user is likely to be able to run malicious database queries.
Weakness: CWE-89
Which versions are affected by CVE-2020-1937?
4 open source packages ship an affected version, including org.apache.kylin:kylin-server-base. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.kylin:kylin-server-base Maven | All versions | 2.6.5 |
org.apache.kylin:kylin-server-base Maven | All versions | 2.6.5 |
org.apache.kylin:kylin-server-base Maven | From 3.0.0 | 3.0.1 |
org.apache.kylin:kylin-server-base Maven | From 3.0.0 | 3.0.1 |
Products include Apache Kylin.
How do I fix CVE-2020-1937?
Upgrade org.apache.kylin:kylin-server-base to a fixed version for your release line: 2.6.5 or 3.0.1.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2020-1937 being exploited?
There is no known exploitation of CVE-2020-1937 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Apache Kylin
- CVE-2020-1956 Apache Kylin OS Command Injection
- CVE-2026-62390 Apache Kylin: SQL Injection Vulnerability in Catalog Cache Refresh API
- CVE-2022-44621 Apache Kylin: Command injection by Diagnosis Controller
- CVE-2022-24697 Apache Kylin vulnerable to remote code execution
- CVE-2021-31522 Apache Kylin unsafe class loading
Sources
Also known as GHSA-7hmh-8gwv-mfvq.