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% (88th 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% (88th 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-2026-62392 — Critical (CVSS 9.8): Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Apache…
- CVE-2026-62390 — Critical (CVSS 9.8): Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Kylin. A…
- 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…
All CVEs affecting Apache Kylin →
Other CWE-470 (Unsafe Reflection) vulnerabilities
- CVE-2026-73098 — Critical (CVSS 10.0): Improper control of dynamically-loaded code vulnerability in Apache Juneau. When Apache Juneau parses a value into a…
- CVE-2021-48025 — Critical (CVSS 9.8): OpenSNS 3.2.1 contains an unauthenticated code injection vulnerability in the shareBox method of ShareController that…
- CVE-2019-25782 — Critical (CVSS 9.8): ThinkPHP 5.0.0 before 5.0.24 contains a code injection vulnerability that allows unauthenticated attackers to execute…
- CVE-2026-90436 — Critical (CVSS 9.8): ** UNSUPPORTED WHEN ASSIGNED ** Deserialization of an inbound SOAP fault in Apache Axis 1.x allows unauthenticated…
- CVE-2026-71253 — Critical (CVSS 9.8): Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') vulnerability in Apache…
- CVE-2026-78030 — Critical (CVSS 9.8): DBI versions before 1.653 for Perl load arbitrary modules via unvalidated dbm_type and dbm_mldbm attributes in…