Learn about CVE-2021-45458 affecting Apache Kylin versions 2.6.6 and earlier, 3.1.2 and earlier, and 4.0.0 and earlier. Find mitigation steps and prevention measures to secure your system.
Apache Kylin provides encryption classes with hardcoded credentials, potentially exposing passwords to decryption attacks.
Understanding CVE-2021-45458
What is CVE-2021-45458?
Apache Kylin versions 2.6.6 and prior, 3.1.2 and prior, and 4.0.0 and prior have a vulnerability due to hardcoded key and IV in the encryption algorithm, risking password decryption.
The Impact of CVE-2021-45458
Technical Details of CVE-2021-45458
Vulnerability Description
The encryption classes in Apache Kylin initialize the cipher with hardcoded credentials, allowing potential decryption of passwords configured in Kylin's files.
Affected Systems and Versions
Exploitation Mechanism
Attackers could exploit this vulnerability to decrypt passwords if they are encrypted using the vulnerable encryption classes.
Mitigation and Prevention
Immediate Steps to Take
kylin.security.encrypt.cipher.ivSpec
in kylin.properties after the upgrade.Long-Term Security Practices
Patching and Updates
Apply patches provided by Apache Kylin to fix the hardcoded credentials vulnerability.