cve.bz

CVE-2021-45458 apache kylin: Use of Insufficiently Random Values

7.5 highEPSS 2.1%Fix available

High (7.5) in apache kylin. EPSS 2.1% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.kylin:kylin 3.1.3, 4.0.1.

On this page
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.

Severity

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
EPSS
2.1% (unchanged from 2.1% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-330 Use of Insufficiently Random Values
CWE-798 Use of Hard-coded Credentials
OWASP Top 10
A04:2025 Cryptographic Failures, A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-45458 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-45458?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-45458?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-45458 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Kylinfrom Apache Kylin 2 through 2.6.6
Apache Software Foundation Apache Kylinfrom Apache Kylin 3 through 3.1.2
Apache Software Foundation Apache Kylinfrom Apache Kylin 4 through 4.0.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9fj5-jg6f-qg5rMavenorg.apache.kylin:kylin<3.1.33.1.3
GHSA-9fj5-jg6f-qg5rMavenorg.apache.kylin:kylin>=4.0.0 <4.0.14.0.1

Attack patterns (CAPEC)

  • CAPEC-70 Try Common or Default Usernames and Passwords Likelihood: Medium · Severity: High
  • CAPEC-191 Read Sensitive Constants Within an Executable Severity: Low
  • CAPEC-59 Session Credential Falsification through Prediction Likelihood: High · Severity: High
  • CAPEC-112 Brute Force Severity: High
  • CAPEC-485 Signature Spoofing by Key Recreation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON