{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-31522","id":"CVE-2021-31522","title":"Apache Kylin unsafe class loading","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.","descriptionLong":"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.","published":"2022-01-06T12:35:18.000Z","updated":"2026-10-24T10:31:03.167574109Z","reserved":"2021-04-21T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":["Apache Software Foundation Apache Kylin"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Kylin","defaultStatus":null,"versions":[{"lessThanOrEqual":"2.6.6","status":"affected","version":"Apache Kylin 2","versionType":"custom"},{"lessThanOrEqual":"3.1.2","status":"affected","version":"Apache Kylin 3","versionType":"custom"},{"lessThanOrEqual":"4.0.0","status":"affected","version":"Apache Kylin 4","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.kylin:kylin","purl":"pkg:maven/org.apache.kylin/kylin","ranges":["<3.1.3",">=4.0.0 <4.0.1"],"fixed":["3.1.3","4.0.1"],"advisory":"GHSA-q656-g2x3-8cgh"}],"cwes":["CWE-470"],"aliases":["GHSA-q656-g2x3-8cgh"],"references":[{"url":"https://lists.apache.org/thread/hh5crx3yr701zd8wtpqo1mww2rlkvznw","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/06/4","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31522","tags":["advisory"]},{"url":"https://github.com/apache/kylin/pull/1695","tags":["web"]},{"url":"https://github.com/apache/kylin/pull/1763","tags":["web"]},{"url":"https://github.com/apache/kylin","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02998,"epssPercentile":0.8764,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-31522","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31522","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-31522","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-q656-g2x3-8cgh","ok":true,"note":"GHSA-q656-g2x3-8cgh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-31522","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}