# CVE-2021-45458: Hardcoded credentials

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-01-06 · Modified: 2024-08-04
- Aliases: GHSA-9fj5-jg6f-qg5r
- Record: https://cvemate.com/vulnerability/CVE-2021-45458 · JSON: https://cvemate.com/vulnerability/CVE-2021-45458/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 2.148%, percentile 82.729%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache kylin: ≥ Apache Kylin 2, ≤ 2.6.6 \| ≥ Apache Kylin 3, ≤ 3.1.2 \| ≥ Apache Kylin 4, ≤ 4.0.0
- apache kylin: ≥ 2.0.0, ≤ 2.6.6 \| ≥ 3.0.0, \< 3.1.3 \| 4.0.0 \| 4.0.0:alpha \| 4.0.0:beta
- org.apache.kylin kylin (Maven): \< 3.1.3 \| ≥ 4.0.0, \< 4.0.1

## References

- <https://lists.apache.org/thread/oof215qz188k16vhlo97cm1jksxdowfy>
- <http://www.openwall.com/lists/oss-security/2022/01/06/7>
- <http://www.openwall.com/lists/oss-security/2022/01/06/3>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-45458>
- <https://github.com/apache/kylin/pull/1781>
- <https://github.com/apache/kylin/pull/1782>
- <https://github.com/apache/kylin>

---

Data as of 2026-12-05T03:59:38.689Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
