CVE-2021-31522
9.8critical
Apache Kylin unsafe class loading
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 3.00% (higher than 87% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-q656-g2x3-8cgh
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Kylin | from Apache Kylin 2 up to 2.6.6, from Apache Kylin 3 up to 3.1.2, from Apache Kylin 4 up to 4.0.0 | CVE List |
| org.apache.kylin:kylin (Maven) | before 3.1.3, from 4.0.0 before 4.0.1 | GitHub Advisory Database |
| apache kylin | from 2.0.0 up to 2.6.6, from 3.0.0 before 3.1.3, 4.0.0 | NVD |
All scores
| GitHub | medium rating | |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Kylin puede recibir la entrada del usuario y cargar cualquier clase mediante Class.forName(...). Este problema afecta a Apache Kylin 2 versiones 2.6.6 y anteriores; Apache Kylin 3 versiones 3.1.2 y anteriores; Apache Kylin 4 versiones 4.0.0 y anteriores.
References
| https://lists.apache.org/thread/hh5crx3yr701zd8wtpqo1mww2rlkvznw | patch, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2022/01/06/4 | mailing-list, patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-31522 | advisory | |
| https://github.com/apache/kylin/pull/1695 | web | |
| https://github.com/apache/kylin/pull/1763 | web | |
| https://github.com/apache/kylin | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-31522 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-q656-g2x3-8cgh changed 2024-12-04 | CC-BY-4.0 |
| NVD | CVE-2021-31522 changed 2026-06-17 | Public domain |