CVE-2021-31522: Apache Kylin unsafe class loading
Vulnerability summary
CVE-2021-31522 is a critical (CVSS 9.8) vulnerability in apache software foundation apache kylin. EPSS estimates a 3.00% chance of exploitation in the next 30 days, higher than 87.7% of scored vulnerabilities.
Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 06-01-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 1 source · 2 versionsEPSS trend
Probability
3.00%
Chance of exploitation in the next 30 days
Percentile
88%
Versus all other CVEs
30-day change
No change 0.00 pp
From 3.00% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- kylin≥ 2.0.0, ≤ 2.6.6 | ≥ 3.0.0, < 3.1.3 | 4.0.0 | 4.0.0:alpha | 4.0.0:beta
Apache software foundation1 product
- apache kylin≥ Apache Kylin 2, ≤ 2.6.6 | ≥ Apache Kylin 3, ≤ 3.1.2 | ≥ Apache Kylin 4, ≤ 4.0.0
Org.apache.kylin1 product
- kylin< 3.1.3 | ≥ 4.0.0, < 4.0.1
3 vendors · 3 products
References
6 links- www.openwall.com/lists/oss-security/2022/01/06/4Mailing ListX Refsource MLISTWEBPatchThird Party Advisory
- github.com/apache/kylinPACKAGE