What’s Vulnerable › Vulnerabilities
CVE-2021-45458: Hardcoded credentials
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-01-06 · updated 2026-06-17
- Weakness: CWE-798
Description
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 products
- Apache Software Foundation Apache Kylin: from 2.0.0 through 2.6.6; from 3.0.0 before 3.1.3; 4.0.0, 4.0.0-alpha, 4.0.0-beta — fixed in 3.1.3
How to fix
Upgrade to a fixed version: Apache Software Foundation Apache Kylin 3.1.3. Check the vendor advisory for mitigations.
References
- http://www.openwall.com/lists/oss-security/2022/01/06/3
- http://www.openwall.com/lists/oss-security/2022/01/06/7
- 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
- https://lists.apache.org/thread/oof215qz188k16vhlo97cm1jksxdowfy
Get alerted when CVE-2021-45458 or the next vulnerability affects your stack