CVE-2020-1937 is a high-severity (CVSS 8.8) SQL Injection vulnerability in org.apache.kylin:kylin-server-base. A fix is available for org.apache.kylin:kylin-server-base — see the affected versions and patch details below.
SQL Injection in Kylin
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.apache.kylin:kylin-server-base☕org.apache.kylin:kylin-server-baseReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.kylin:kylin-server-base | all versions | 2.6.5org.apache.kylin:kylin-server-base:2.6.5 |
| ☕Maven | org.apache.kylin:kylin-server-base | ≥ 3.0.0&&< 3.0.1 | 3.0.1org.apache.kylin:kylin-server-base:3.0.1 |
Affected Products
kylinapacheDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.kylin:kylin-server-base, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.kylin:kylin-server-base to 2.6.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-1937 is resolved across your whole dependency graph.
Workarounds
Until you can upgrade, make sure every query built from user input uses parameterised statements or a prepared-statement API rather than string concatenation, and reduce the database account's privileges so an injected query cannot read or alter data beyond what the feature needs.
Frequently Asked Questions
Is CVE-2020-1937 in your dependencies?
Find it across Maven, including transitive dependencies.