MEDIUM6.5
GHSA-7hmh-8gwv-mfvq
SQL Injection in Kylin
Quick fix
GHSA-7hmh-8gwv-mfvq — org.apache.kylin:kylin-server-base: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.6.5</version> for org.apache.kylin:kylin-server-baseDetails
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.
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: 2.6.5Fix
# pom.xml: bump <version>2.6.5</version> for org.apache.kylin:kylin-server-baseMaven/org.apache.kylin:kylin-server-base
Introduced in:
3.0.0Fixed in: 3.0.1Fix
# pom.xml: bump <version>3.0.1</version> for org.apache.kylin:kylin-server-baseReferences
- https://nvd.nist.gov/vuln/detail/CVE-2020-1937[ADVISORY]
- https://github.com/apache/kylin/commit/e373c64c96a54a7abfe4bccb82e8feb60db04749[WEB]
- https://github.com/apache/kylin[PACKAGE]
- https://lists.apache.org/thread.html/r021baf9d8d4ae41e8c8332c167c4fa96c91b5086563d9be55d2d7acf@%3Ccommits.kylin.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/r61666760d8a4e8764b2d5fe158d8a48b569414480fbfadede574cdc0@%3Ccommits.kylin.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/rc574fef23740522f62ab3bbda4f6171be98aa7a25f3f54be143a80a8%40%3Cuser.kylin.apache.org%3E[WEB]
- https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEKYLIN-552148[WEB]