CRITICAL9.8
GHSA-hx5g-8hq2-8x4w
SQL Injection in Kylin
Quick fix
GHSA-hx5g-8hq2-8x4w — org.apache.kylin:kylin-server-base: upgrade to the fixed version with the command below.
# pom.xml: bump <version>3.1.0</version> for org.apache.kylin:kylin-server-baseDetails
Kylin concatenates and executes a Hive SQL in Hive CLI or beeline when building a new segment; some part of the HQL is from system configurations, while the configuration can be overwritten by certain rest api, which makes SQL injection attack is possible. Users of all previous versions after 2.0 should upgrade to 3.1.0.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.kylin:kylin-server-base
Introduced in:
0Fixed in: 3.1.0Fix
# pom.xml: bump <version>3.1.0</version> for org.apache.kylin:kylin-server-baseReferences
- https://nvd.nist.gov/vuln/detail/CVE-2020-13926[ADVISORY]
- https://lists.apache.org/thread.html/r021baf9d8d4ae41e8c8332c167c4fa96c91b5086563d9be55d2d7acf@%3Ccommits.kylin.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/r63d5663169e866d44ff9250796193337cff7d9cf61cc3839e86163fd%40%3Cuser.kylin.apache.org%3E[WEB]
- https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEKYLIN-584374[WEB]