Use of Hard-coded Credentials in Apache Kylin
Apache Kylin provides encryption classes PasswordPlaceholderConfigurer to help users encrypt their passwords. In the encryption algorithm used by this encryption class, the cipher is initialized with a hardcoded key and IV. If users use class PasswordPlaceholderConfigurer to encrypt their password and configure it into kylin's configuration file, there is a risk that the password may be decrypted. 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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.kylin:kylin | < 3.1.3, >= 4.0.0, < 4.0.1 | 3.1.3, 4.0.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-45458
- https://github.com/apache/kylin/pull/1781
- https://github.com/apache/kylin/pull/1782
- https://github.com/apache/kylin
- https://lists.apache.org/thread/oof215qz188k16vhlo97cm1jksxdowfy
- http://www.openwall.com/lists/oss-security/2022/01/06/3
- http://www.openwall.com/lists/oss-security/2022/01/06/7
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-326, CWE-330, CWE-798- Platform
- Java / Kotlin (Maven)
- Package
org.apache.kylin:kylin- Disclosed
- 08.01.2022
- Updated
- 11.10.2026 11:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-9fj5-jg6f-qg5r - CC BY 4.0
Vulnerability history: org.apache.kylin:kylin
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 13
- First → latest
- 01.2022 10.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 7
- Medium 5
- Low 1
Disclosures per year
- 2022: 8
- 2023: 0
- 2024: 1
- 2025: 4
- 2026: 0
-
Use of Hard-coded Credentials in Apache Kylin this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.