Skip to content

Kylin can receive user input and load any class through Class.forName(...).

Moderate severity GitHub Reviewed Published Jan 8, 2022 to the GitHub Advisory Database • Updated Feb 3, 2023

Package

maven org.apache.kylin:kylin (Maven)

Affected versions

< 3.1.3
= 4.0.0

Patched versions

3.1.3
4.0.1

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.

References

Published by the National Vulnerability Database Jan 6, 2022
Reviewed Jan 7, 2022
Published to the GitHub Advisory Database Jan 8, 2022
Last updated Feb 3, 2023

Severity

Moderate

EPSS score

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(90th percentile)

Weaknesses

Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

The product uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the input from selecting improper classes or code. Learn more on MITRE.

CVE ID

CVE-2021-31522

GHSA ID

GHSA-q656-g2x3-8cgh

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.