Hardcoded credentials in Apache Kylin
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass, Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-798 and CWE-326.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Kylin | Apache Kylin 2 – 2.6.6; Apache Kylin 3 – 3.1.2; Apache Kylin 4 – 4.0.0 | — | No fix listed | CNA |
| — | org.apache.kylin:kylin (Maven) | before 3.1.3 | 3.1.3 | Patch available | GHSA-9fj5-jg6f-qg5r |
| — | org.apache.kylin:kylin (Maven) | 4.0.0 to before 4.0.1 | 4.0.1 | Patch available | GHSA-9fj5-jg6f-qg5r |
- Apache Kylin VendorApache Affected Apache Kylin 2 – 2.6.6; Apache Kylin 3 – 3.1.2; Apache Kylin 4 – 4.0.0 Fixed in — No fix listed CNA
- org.apache.kylin:kylin (Maven) Vendor— Affected before 3.1.3 Fixed in 3.1.3 Patch available GHSA-9fj5-jg6f-qg5r
- org.apache.kylin:kylin (Maven) Vendor— Affected 4.0.0 to before 4.0.1 Fixed in 4.0.1 Patch available GHSA-9fj5-jg6f-qg5r
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apache:kylin:*:*:*:*:*:*:*:* | 2.0.0 – 2.6.6; 3.0.0 to before 3.1.3 | Vulnerable | Apache |
| cpe:2.3:a:apache:kylin:4.0.0:-:*:*:*:*:*:* | 4.0.0 | Vulnerable | Apache |
| cpe:2.3:a:apache:kylin:4.0.0:alpha:*:*:*:*:*:* | 4.0.0 alpha | Vulnerable | Apache |
| cpe:2.3:a:apache:kylin:4.0.0:beta:*:*:*:*:*:* | 4.0.0 beta | Vulnerable | Apache |
- cpe:2.3:a:apache:kylin:*:*:*:*:*:*:*:* Versions 2.0.0 – 2.6.6; 3.0.0 to before 3.1.3 Vulnerable ·Apache
- cpe:2.3:a:apache:kylin:4.0.0:-:*:*:*:*:*:* Versions 4.0.0 Vulnerable ·Apache
- cpe:2.3:a:apache:kylin:4.0.0:alpha:*:*:*:*:*:* Versions 4.0.0 alpha Vulnerable ·Apache
- cpe:2.3:a:apache:kylin:4.0.0:beta:*:*:*:*:*:* Versions 4.0.0 beta Vulnerable ·Apache
Remediation
- Fix · GHSA-9fj5-jg6f-qg5r org.apache.kylin:kylin (Maven) Fixed in 3.1.3 Advisory →
- Fix · GHSA-9fj5-jg6f-qg5r org.apache.kylin:kylin (Maven) Fixed in 4.0.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-45458
- 2026-10-03 Alias added: GHSA-9fj5-jg6f-qg5r
References
Advisory 4
More Apache Kylin vulnerabilities
- TI-2020-01880 OS command injection in Apache Kylin KEVCVSS 3.1HIGH 8.8
- TI-2022-08515 OS command injection in Apache Kylin CVSS 3.1CRITICAL 9.8
- TI-2021-20543 Command injection in Apache Kylin CVSS 3.1CRITICAL 9.8
- TI-2022-21192 Apache Kylin: Command injection by Useless configuration CVSS 3.1HIGH 8.8
- TI-2020-10914 Insecure storage of sensitive information in Apache Kylin CVSS 3.1MEDIUM 5.3
- TI-2020-10903 OS command injection in Apache Kylin CVSS 3.1CRITICAL 9.8
Sources
- CVE-2021-45458 · CVE Program
- CVE-2021-45458 · NVD
- FIRST EPSS
- GHSA-9fj5-jg6f-qg5r · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences