GHSA-9fj5-jg6f-qg5r
Use of Hard-coded Credentials in Apache Kylin
Quick fix
GHSA-9fj5-jg6f-qg5r — org.apache.kylin:kylin: upgrade to the fixed version with the command below.
# pom.xml: bump <version>3.1.3</version> for org.apache.kylin:kylinDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 3.1.3# pom.xml: bump <version>3.1.3</version> for org.apache.kylin:kylin4.0.0Fixed in: 4.0.1# pom.xml: bump <version>4.0.1</version> for org.apache.kylin:kylinReferences
- 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]
- https://lists.apache.org/thread/oof215qz188k16vhlo97cm1jksxdowfy[WEB]
- http://www.openwall.com/lists/oss-security/2022/01/06/3[WEB]
- http://www.openwall.com/lists/oss-security/2022/01/06/7[WEB]