CVE-2021-45458: Use of Hard-coded Credentials in Apache Kylin
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.69866%
CWE
Published
1/8/2022
Updated
7/21/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.kylin:kylin | maven | < 3.1.3 | 3.1.3 |
org.apache.kylin:kylin | maven | = 4.0.0 | 4.0.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the use of static cryptographic parameters in PasswordPlaceholderConfigurer
. Both encrypt()
and decrypt()
functions initialize the cipher with hardcoded values (key/IV), as confirmed by the CVE description and patch references. The patches (PR#1781/PR#1782) likely address this by making these parameters configurable. The functions are explicitly tied to the insecure encryption mechanism described.