{"id":"CVE-2021-45458","published":"2022-01-06T12:35:24Z","modified":"2024-08-04T04:39:21Z","title":"Hardcoded credentials","vendor":"Apache","product":"Apache Kylin","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02148,"percentile":0.82555,"provenance":"source"},"cwes":[{"id":"CWE-798","name":"Use of Hard-coded Credentials"}],"references":[{"url":"https://lists.apache.org/thread/oof215qz188k16vhlo97cm1jksxdowfy","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/06/7","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/06/3","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":16.51}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Kylin","versions":[">= Apache Kylin 2, <= 2.6.6",">= Apache Kylin 3, <= 3.1.2",">= Apache Kylin 4, <= 4.0.0"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.kylin:kylin","vulnerableRanges":["<3.1.3",">=4.0.0, <4.0.1"],"patched":["3.1.3","4.0.1"],"from":["GHSA-9fj5-jg6f-qg5r"],"provenance":"source"}],"summary":{"text":"The flaw is hardcoded credentials in the PasswordPlaceholderConfigurer encryption class of Apache Kylin, where the cipher is initialised with a fixed key and IV.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:38Z"},"euvd":{"id":"EUVD-2022-0544","exploited":false,"provenance":"source"}}