GitHub Advisoryadvisory · Maven

GHSA-9fj5-jg6f-qg5r Use of Hard-coded Credentials in Apache Kylin

HIGH Published 2022-01-08 Modified 2023-07-21 Official page ↗
Aliases
CVE-2021-45458
Ecosystem
Maven
Packages
org.apache.kylin:kylin
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-326, CWE-330, CWE-798
Reviewed
2022-01-07

Affected packages

• Maven org.apache.kylin:kylin: < 3.1.3 → fixed in 3.1.3 • Maven org.apache.kylin:kylin: >= 4.0.0, < 4.0.1 → fixed in 4.0.1

Description

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.

Related

Alias · CVE (1)

  • CVE-2021-45458 Apache Kylin provides encryption classes PasswordPlaceholderConfigurer to help users encrypt their passwords. vulnerability

Weakness · CWE (3)

  • CWE-326 Inadequate Encryption Strength weakness
  • CWE-330 Use of Insufficiently Random Values weakness
  • CWE-798 Use of Hard-coded Credentials weakness

References