CVE-2021-45458
HIGH 7.5CVSS 3.1Use 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.
- Published
- 6 Jan 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-326CWE-330CWE-798
- Also known as
- GHSA-9fj5-jg6f-qg5r
- Sources
- NVDJSONOSV GHSA-9fj5-jg6f-qg5rJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | kylincpe:2.3:a:apache:kylin:*:*:*:*:*:*:*:* |
>= 2.0.0, <= 2.6.6 | |
| NVD | apache | kylincpe:2.3:a:apache:kylin:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.1.3 | 3.1.3 |
| NVD | apache | kylincpe:2.3:a:apache:kylin:4.0.0:-:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | apache | kylincpe:2.3:a:apache:kylin:4.0.0:alpha:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | apache | kylincpe:2.3:a:apache:kylin:4.0.0:beta:*:*:*:*:*:* |
= 4.0.0 | |
| OSV | Maven | org.apache.kylin:kylin | < 3.1.3 | 3.1.3 |
| OSV | Maven | org.apache.kylin:kylin | >= 4.0.0, < 4.0.1 | 4.0.1 |
References
- http://www.openwall.com/lists/oss-security/2022/01/06/3 · Mailing List, Third Party Advisory, WEB
- http://www.openwall.com/lists/oss-security/2022/01/06/7 · Mailing List, Third Party Advisory, WEB
- https://lists.apache.org/thread/oof215qz188k16vhlo97cm1jksxdowfy · Mailing List, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-45458 · ADVISORY
- https://github.com/apache/kylin/pull/1781 · WEB
- https://github.com/apache/kylin/pull/1782 · WEB
- https://github.com/apache/kylin · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 6 Jan 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Jan 2022)