CVE-2021-31522
Java vulnerability analysis and mitigation

Overview

Apache Kylin was found to be vulnerable to unsafe class loading, identified as CVE-2021-31522. The vulnerability allows Kylin to receive user input and load any class through Class.forName(...). This security issue affects multiple versions including Apache Kylin 2 version 2.6.6 and prior versions, Apache Kylin 3 version 3.1.2 and prior versions, and Apache Kylin 4 version 4.0.0 and prior versions. The vulnerability was disclosed in January 2022 (Apache Mail, OSS Security).

Technical details

The vulnerability stems from Kylin's ability to receive user input and load arbitrary classes through the Class.forName(...) method, which could potentially lead to unsafe class loading. The severity of this vulnerability is considered moderate (OSS Security).

Impact

The unsafe class loading vulnerability could potentially allow attackers to load arbitrary classes, which might lead to security implications in the Apache Kylin environment (CVE Mitre).

Mitigation and workarounds

Users of Kylin 2.x & Kylin 3.x are advised to upgrade to version 3.1.3 or apply the patch available at https://github.com/apache/kylin/pull/1695. For Kylin 4.x users, the recommendation is to upgrade to version 4.0.1 or apply the patch available at https://github.com/apache/kylin/pull/1763 (OSS Security).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14306CRITICAL10
  • JavaJava
  • net.sf.robocode:robocode.core
NoYesDec 09, 2025
CVE-2025-14307CRITICAL9.3
  • JavaJava
  • net.sf.robocode:robocode.battle
NoYesDec 09, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • at.yawk.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
GHSA-93fv-4pm9-xp28MEDIUM6.9
  • JavaJava
  • net.dv8tion:jda
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management