# CVE-2021-45458: Hardcoded credentials

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.15%, higher than 82% of CVEs (2026-12-01)
- Published: 2022-01-06T12:35:24.000Z
- Modified: 2026-06-17T04:13:24.293Z
- Also known as: GHSA-9fj5-jg6f-qg5r
- Weaknesses: CWE-326, CWE-330, CWE-798
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Kylin: from Apache Kylin 2 up to 2.6.6; from Apache Kylin 3 up to 3.1.2; from Apache Kylin 4 up to 4.0.0
- org.apache.kylin:kylin (Maven): before 3.1.3; from 4.0.0 before 4.0.1
- apache kylin: from 2.0.0 up to 2.6.6; from 3.0.0 before 3.1.3; 4.0.0

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://lists.apache.org/thread/oof215qz188k16vhlo97cm1jksxdowfy> (mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/01/06/7> (mailing-list, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/01/06/3> (mailing-list, third-party-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)

## Sources

- CVE List: [CVE-2021-45458](https://www.cve.org/CVERecord?id=CVE-2021-45458), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-9fj5-jg6f-qg5r](https://github.com/advisories/GHSA-9fj5-jg6f-qg5r), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-45458](https://nvd.nist.gov/vuln/detail/CVE-2021-45458), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-45458 · Whole record: https://cve.day/CVE-2021-45458.json · Rebuilt by cve.day 2026-11-25T22:58:06.414Z
