Home / Apache Software Foundation / Apache Kylin / CVE-2021-45458
CVE-2021-45458: is it exploited, and which versions of Apache Software Foundation Apache Kylin are affected and fixed?
CVE-2021-45458 is a hard-coded credentials vulnerability in Apache Software Foundation Apache Kylin. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: org.apache.kylin:kylin before 3.1.3 and org.apache.kylin:kylin from 4.0.0 before 4.0.1 (GitHub advisory GHSA-9fj5-jg6f-qg5r). Fixed in 3.1.3 and 4.0.1 (GitHub advisory GHSA-9fj5-jg6f-qg5r). Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:52 UTC.
What is CVE-2021-45458?
Hardcoded credentials
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.
From the CVE record by apache, last updated August 4, 2024, 04:39 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Kylin | from Apache Kylin 2 through 2.6.6 from Apache Kylin 3 through 3.1.2 from Apache Kylin 4 through 4.0.0 |
As the CVE record by apache states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.kylin:kylin | < 3.1.3 | 3.1.3 | GHSA-9fj5-jg6f-qg5r |
| Maven | org.apache.kylin:kylin | >= 4.0.0, < 4.0.1 | 4.0.1 | GHSA-9fj5-jg6f-qg5r |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 21, 2023. Summary: Use of Hard-coded Credentials in Apache Kylin.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | kylin | from 2.0.0 through 2.6.6 | application |
| apache | kylin | from 3.0.0 before 3.1.3 | application |
| apache | kylin | 4.0.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:13 UTC.
How severe is CVE-2021-45458?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-45458 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.15% probability of exploitation activity in the next 30 days, percentile 82.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-798 Use of Hard-coded Credentials
- CWE-330 Use of Insufficiently Random Values
- CWE-326 Inadequate Encryption Strength
Is there a workaround? (from the CVE record)
Users of Kylin 2.x & Kylin 3.x should upgrade to 3.1.3 or apply patch https://github.com/apache/kylin/pull/1782. Users of Kylin 4.x should upgrade to 4.0.1 or apply patch https://github.com/apache/kylin/pull/1781. After upgrading, users can configure the value of `kylin.security.encrypt.cipher.ivSpec` in kylin.properties for encryption algorithm, and then re-encrypt the password they need to encrypt.
Where are the vendor advisories and references?
- https://lists.apache.org/thread/oof215qz188k16vhlo97cm1jksxdowfy x_refsource_MISC
- [oss-security] 20220106 CVE-2021-45458: Apache Kylin: Hardcoded credentials mailing-list, x_refsource_MLIST
- [oss-security] 20220106 CVE-2021-45458: Apache Kylin: Hardcoded credentials mailing-list, x_refsource_MLIST
Who found and reported it?
- Alvaro Munoz (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- December 21, 2021
- Published
- January 6, 2022, 12:35 UTC
- CVE record updated
- August 4, 2024, 04:39 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 04:13 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:52 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Kylin?
- Oct 19, 2026CVE-2026-108837 Apache Software Foundation Apache Kylin: denial of service (resources allocated without limits)
- Oct 19, 2026CVE-2026-108833 Apache Software Foundation Apache Kylin: insecure default setting
- Oct 19, 2026CVE-2026-108823 Apache Software Foundation Apache Kylin: information disclosure
- Oct 19, 2026CVE-2026-108780 Apache Software Foundation Apache Kylin: improper input validation
- Oct 19, 2026CVE-2026-108776 Apache Software Foundation Apache Kylin: SQL injection
- Oct 19, 2026CVE-2026-108771 Apache Software Foundation Apache Kylin: missing authentication for a critical function
- Oct 19, 2026CVE-2026-108766 Apache Software Foundation Apache Kylin: missing authorization
- Oct 19, 2026CVE-2026-108764 Apache Software Foundation Apache Kylin: server-side request forgery (SSRF)
Questions about CVE-2021-45458
Is CVE-2021-45458 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 2.15% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache Kylin are affected by CVE-2021-45458?
org.apache.kylin:kylin before 3.1.3 and org.apache.kylin:kylin from 4.0.0 before 4.0.1, per the GitHub advisory GHSA-9fj5-jg6f-qg5r. The tables above give every range the sources list.
Which version fixes CVE-2021-45458?
3.1.3 and 4.0.1, per the GitHub advisory GHSA-9fj5-jg6f-qg5r. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-45458?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-45458?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.