CVE-2021-31522
CVE-2021-31522 is a critical-severity vulnerability in Apache Kylin with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-470.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v2: 7.5
- EPSS exploit prediction: 3% (85th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-470
- Affected product: Apache Kylin
- Published:
- Last modified:
Description
Kylin can receive user input and load any class through Class.forName(...). This issue affects Apache Kylin 2 version 2.6.6 and prior versions; Apache Kylin 3 version 3.1.2 and prior versions; Apache Kylin 4 version 4.0.0 and prior versions.
Frequently asked questions
- What is CVE-2021-31522?
- Kylin can receive user input and load any class through Class.forName(...). This issue affects Apache Kylin 2 version 2.6.6 and prior versions; Apache Kylin 3 version 3.1.2 and prior versions; Apache Kylin 4 version 4.0.0 and prior versions.
- How severe is CVE-2021-31522?
- CVE-2021-31522 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2021-31522 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (85th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-31522?
- CVE-2021-31522 primarily affects Apache Kylin. In total, 4 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2021-31522?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2021-31522 published?
- CVE-2021-31522 was published on 2022-01-06 and last updated on 2026-06-17.
References
- http://www.openwall.com/lists/oss-security/2022/01/06/4
- https://lists.apache.org/thread/hh5crx3yr701zd8wtpqo1mww2rlkvznw
Affected products (4)
- cpe:2.3:a:apache:kylin:*:*:*:*:*:*:*:*
- cpe:2.3:a:apache:kylin:4.0.0:-:*:*:*:*:*:*
- cpe:2.3:a:apache:kylin:4.0.0:alpha:*:*:*:*:*:*
- cpe:2.3:a:apache:kylin:4.0.0:beta:*:*:*:*:*:*
More vulnerabilities in Apache Kylin
- CVE-2022-44621 — Critical (CVSS 9.8): Diagnosis Controller miss parameter validation, so user may attacked by command injection via HTTP Request.
- CVE-2022-24697 — Critical (CVSS 9.8): Kylin's cube designer function has a command injection vulnerability when overwriting system parameters in the…
- CVE-2021-45456 — Critical (CVSS 9.8): Apache kylin checks the legitimacy of the project before executing some commands with the project name passed in by the…
- CVE-2020-13926 — Critical (CVSS 9.8): Kylin concatenates and executes a Hive SQL in Hive CLI or beeline when building a new segment; some part of the HQL is…
- CVE-2020-13925 — Critical (CVSS 9.8): Similar to CVE-2020-1956, Kylin has one more restful API which concatenates the API inputs into OS commands and then…
- CVE-2024-23590 — Critical (CVSS 9.1): Session Fixation vulnerability in Apache Kylin. This issue affects Apache Kylin: from 2.0.0 through 4.x. Users are…
All CVEs affecting Apache Kylin →
Other CWE-470 (Unsafe Reflection) vulnerabilities
- CVE-2026-42027 — Critical (CVSS 9.8): Arbitrary Class Instantiation via Model Manifest in Apache OpenNLP ExtensionLoader Versions Affected: before…
- CVE-2025-34393 — Critical (CVSS 9.8): Barracuda Service Center, as implemented in the RMM solution, in versions prior to 2025.1.1, does not correctly verify…
- CVE-2025-53693 — Critical (CVSS 9.8): Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') vulnerability in Sitecore Sitecore…
- CVE-2023-6943 — Critical (CVSS 9.8): Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') vulnerability in Mitsubishi Electric…
- CVE-2019-1003041 — Critical (CVSS 9.8): A sandbox bypass vulnerability in Jenkins Pipeline: Groovy Plugin 2.64 and earlier allows attackers to invoke arbitrary…
- CVE-2019-1003040 — Critical (CVSS 9.8): A sandbox bypass vulnerability in Jenkins Script Security Plugin 1.55 and earlier allows attackers to invoke arbitrary…