CVE-2021-45458
Use of Hard-coded Credentials in Apache Kylin
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.kylin » kylin | < 3.1.3>= 4.0.0, < 4.0.1 | 3.1.3, 4.0.1 |
Blast radius
Computed from the dependency graph of build 20261204.0837 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2021-45458 | nvd.nist.gov |
| Package | apache/kylin | github.com |
| Web | apache/kylin pull request #1781 | github.com |
| Web | apache/kylin pull request #1782 | github.com |
| Web | thread/oof215qz188k16vhlo97cm1jksxdowfy | lists.apache.org |
| Web | lists/oss-security/2022/01/06/3 | openwall.com |
| Web | lists/oss-security/2022/01/06/7 | openwall.com |
