Use of Hard-coded Credentials in Apache Kylin
High severity
GitHub Reviewed
Published
Jan 8, 2022
to the GitHub Advisory Database
•
Updated Jul 21, 2023
Package
Affected versions
< 3.1.3
= 4.0.0
Patched versions
3.1.3
4.0.1
Description
Published by the National Vulnerability Database
Jan 6, 2022
Reviewed
Jan 7, 2022
Published to the GitHub Advisory Database
Jan 8, 2022
Last updated
Jul 21, 2023
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.
References