CVE-2021-45458: Use of Hard-coded Credentials in Apache Kylin

org.apache.kylin:kylin Updated 02 Oct 2025

Summary

08/01/2022
Yes i
High
7.5

CVE-2021-45458: Use of Hard-coded Credentials in Apache Kylin. Affects org.apache.kylin:kylin across 2 version ranges.

< 3.1.3 >= 4.0.0, < 4.0.1

Fixed in 3.1.3 or 4.0.1, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache Kylin is an open-source distributed analytics engine designed to provide a SQL interface and multi-dimensional analysis (OLAP) on big data for data warehousing. It offers encryption classes, such as PasswordPlaceholderConfigurer, to help users encrypt their passwords. However, a vulnerability exists in the encryption algorithm used by this class, where the cipher is initialized with a hardcoded key and IV. This flaw affects Apache Kylin versions 2.6.6 and prior, 3.1.2 and prior, and 4.0.0 and prior.

Vulnerability Detail

The use of hardcoded credentials in Apache Kylin's encryption classes poses a security risk. If users encrypt their passwords using the PasswordPlaceholderConfigurer class and configure them in Kylin's configuration file, there is a possibility that the passwords may be decrypted. This vulnerability can potentially lead to unauthorized access to sensitive information and compromise the security of the system.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 3.1.3 3.1.3
  • >= 4.0.0, < 4.0.1 4.0.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to apply the fix by upgrading to the latest version of Apache Kylin.

Conclusion

The use of hardcoded credentials in Apache Kylin's encryption classes poses a significant security risk. It is crucial for users to upgrade to the fixed versions of Apache Kylin to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.kylin:kylin →

Share this vulnerability

FAQ

Apache Kylin is an open-source distributed analytics engine designed for big data analysis and data warehousing. It provides a SQL interface and multi-dimensional analysis capabilities.

This vulnerability can potentially lead to unauthorized access to sensitive information stored in Apache Kylin, compromising the security of the system.

Apache Kylin versions 2.6.6 and prior, 3.1.2 and prior, and 4.0.0 and prior are affected by this vulnerability.

To fix this vulnerability, users should upgrade to the fixed versions of Apache Kylin. For versions 2.x, upgrade to version 2.6.7 or later. For versions 3.x, upgrade to version 3.1.3 or later. For versions 4.x, upgrade to version 4.0.1 or later.

There is no known workaround for this vulnerability. It is recommended to apply the fix by upgrading to the latest version of Apache Kylin.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.kylin:kylin.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 3.1.3 3.1.3
  • >= 4.0.0, < 4.0.1 4.0.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback