CVE-2021-31522 json
Apache Kylin unsafe class loading
published 4y ago modified 4mo ago also GHSA-q656-g2x3-8cgh , EUVD-2022-0672
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.0%
- EPSS 3.0% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.kylin:kylin 3.1.3, 4.0.1
- apache kylin 3.1.3
- github.com/apache/kylin#1695 pull request
- github.com/apache/kylin#1763 pull request
- lists.apache.org/thread/hh5crx3yr701zd8wtpqo1mww2rlkvznw advisory
- openwall.com/lists/oss-security/2022/01/06/4 advisory
Is CVE-2021-31522 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
3.00% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.kylin:kylin | <3.1.3 >=4.0.0, <4.0.1 |
3.1.3 4.0.1 |
Affected products
- Apache Software Foundation Apache Kylin
Classification
- Weakness
-
- CWE-470 Use of Externally-Controlled Input to Select Classes or Code
References
-
lists.apache.org
/thread/hh5crx3yr701zd8wtpqo1mww2rlkvznw
web, patch, vendor-advisory
-
openwall.com
/lists/oss-security/2022/01/06/4
mailing-list, web, patch, third-party-advisory
-
github.com
/apache/kylin/pull/1695
web
-
github.com
/apache/kylin/pull/1763
web
-
nvd.nist.gov
/vuln/detail/CVE-2021-31522
advisory
-
github.com
/apache/kylin
package
Sources
- CVE List CVE-2021-31522
- GitHub Advisory GHSA-q656-g2x3-8cgh
- NVD CVE-2021-31522
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.