Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.kylin/kylin
  4. ›
  5. CVE-2021-31522

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

January 6, 2022 (updated January 12, 2022)

Kylin can receive user input and load any class through Class.forName(…). This issue affects Apache Kylin 2 and prior versions; Apache Kylin 3 and prior versions; Apache Kylin 4 and prior versions.

References

  • www.openwall.com/lists/oss-security/2022/01/06/4
  • lists.apache.org/thread/hh5crx3yr701zd8wtpqo1mww2rlkvznw
  • nvd.nist.gov/vuln/detail/CVE-2021-31522

Code Behaviors & Features

Detect and mitigate CVE-2021-31522 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0 up to 2.6.6, all versions starting from 3.0.0 before 3.1.3, version 4.0.0

Fixed versions

  • 3.0.0-alpha
  • 3.1.3
  • 4.0.1

Solution

Upgrade to versions 3.0.0-alpha, 3.1.3, 4.0.1 or above. *Note*: 3.0.0-alpha may be an unstable version. Use caution.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

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

Source file

maven/org.apache.kylin/kylin/CVE-2021-31522.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:48 +0000.