CVE-2021-31522

Apache Kylin unsafe class loading

published January 6, 2022

CVSS
โ€”
EPSS
3%
Percentile
86.9
In the wild
Unconfirmed
What it is

โš ๏ธ A seemingly innocent user input can unleash chaos! Apache Kylin's Class.forName(...) method opens the door to potentially loading any class โ€” a sneaky way to run unintended code. ๐Ÿ˜ฑ Think of it like a restaurant kitchen where the chef can prepare any dish just by a customer saying its name โ€” no verification needed! If the wrong dish is ordered, it could lead to a serious food safety issue. If exploited, an attacker could load malicious classes that might compromise data integrity or even gain unauthorized access to sensitive system functionalities. This could lead to data theft or system corruption, putting your organization at risk.

Put simply

Think of it like a restaurant kitchen where the chef can prepare any dish just by a customer saying its name โ€” no verification needed! If the wrong dish is ordered, it could lead to a serious food safety issue. The flaw in Apache Kylin allows user-controlled input to dictate which class is loaded via Class.forName(...), leading to potential remote code execution if the input is manipulated correctly. This affects versions up to 2.6.6 in Kylin 2, 3.1.2 in Kylin 3, and 4.0.0 in Kylin 4.

What to do

If exploited, an attacker could load malicious classes that might compromise data integrity or even gain unauthorized access to sensitive system functionalities. This could lead to data theft or system corruption, putting your organization at risk. To secure your installation, upgrade to the latest versions of Apache Kylin: 2.6.7 or higher, 3.1.3 or higher, and 4.0.1 or higher. Additionally, ensure input validation and implement strict controls on what classes can be loaded from user input. You've got this! By patching and validating inputs, you'll keep your Kylin deployment safe and sound! ๐Ÿ›ก๏ธ

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02902 ยท 86.9th percentile
Published
2022-01-06T12:35Z
EPSS history
Timeline
  • 06 JAN 12:35Z
    Apache Kylin unsafe class loading
    cvelistv5