CVE-2021-31522: Apache Kylin - Arbitrary Class Loading
Summary
CVE-2021-31522: Kylin can receive user input and load any class through Class.forName(...). Affects org.apache.kylin:kylin across 2 version ranges.
< 3.1.3
>= 4.0.0, < 4.0.1
Fixed in 3.1.3 or 4.0.1, depending on the release line you run. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Apache Kylin is an open-source distributed analytics engine designed to provide SQL interface and multi-dimensional analysis (OLAP) on big data for data warehousing. It allows users to query large-scale datasets in real-time and provides various features for data modeling, cube building, and query optimization. However, a vulnerability has been discovered in Apache Kylin that allows an attacker to load any class through user input.
Vulnerability Detail
The vulnerability in Apache Kylin arises from the ability to receive user input and load any class through the Class.forName(...) method. This can be exploited by an attacker to execute arbitrary code on the affected system. The issue affects Apache Kylin versions 2.6.6 and prior, 3.1.2 and prior, and 4.0.0 and prior.
How To Fix
Fixed versions by release line
The minimum fixed version depends on the release line you run.
-
< 3.1.33.1.3 -
>= 4.0.0, < 4.0.14.0.1
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to apply the recommended fixes as soon as possible.
Conclusion
The vulnerability in Apache Kylin allows an attacker to load any class through user input, potentially leading to remote code execution. It is crucial to upgrade to the fixed versions of Apache Kylin to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.apache.kylin:kylin →
FAQ
Apache Kylin is an open-source distributed analytics engine designed for big data analysis and OLAP on large-scale datasets.
This vulnerability allows an attacker to execute arbitrary code on the affected system, potentially leading to remote code execution and unauthorized access.
The vulnerability affects Apache Kylin versions 2.6.6 and prior, 3.1.2 and prior, and 4.0.0 and prior.
No, there is no known workaround for this vulnerability. It is crucial to apply the recommended fixes.
To fix this vulnerability, upgrade to the fixed versions of Apache Kylin: 2.6.7 or later for 2.x, 3.1.3 or later for 3.x, and 4.0.1 or later for 4.x.
References
Related vulnerabilities
Recent vulnerabilities recorded for org.apache.kylin:kylin.