Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-31522
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:07 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-31522
Complete source record
{
"id": "735b66f374316886dbf60b5a538dabc30a1301601a994cd7a55bed2570119de5",
"url": "https://osv.dev/vulnerability/CVE-2021-31522",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-31522",
"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.",
"evidence": "osv:CVE-2021-31522",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-31522",
"aliases": [
"CVE-2021-31522",
"GHSA-q656-g2x3-8cgh"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/kylin",
"type": "GIT",
"events": [
{
"introduced": "375fd807c281d8c5deff0620747c806be2019782"
},
{
"last_affected": "ddd5f8ecd4157b8f889b047e421dd9cfae7e1142"
},
{
"introduced": "c75242a9b55fd57a3a58d92a2dfa9f21cfe4eebc"
},
{
"fixed": "2fb07e6b1bf0f716090f3b73004c5afe0096b9be"
},
{
"introduced": "aa6d582c0a96fdf31e85791f86850cfc00a7644f"
},
{
"last_affected": "546381392c55136310f591969e5a3f3db6074988"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:kylin:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0"
},
{
"last_affected": "2.6.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:kylin:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.1.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:kylin:4.0.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.0-NA"
},
{
"last_affected": "4.0.0-NA"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:kylin:4.0.0:alpha:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.0-alpha"
},
{
"last_affected": "4.0.0-alpha"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:kylin:4.0.0:beta:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.0-beta"
},
{
"last_affected": "4.0.0-beta"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"4.0.0-NA",
"4.0.0-alpha",
"4.0.0-beta"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31522.json"
}
}
],
"modified": "2026-10-24T10:31:03.167574109Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread/hh5crx3yr701zd8wtpqo1mww2rlkvznw"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-31522",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 440203,
"published_at": "2022-01-06T13:15:08.027+00:00"
}