Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.kylin/kylin
  4. ›
  5. CVE-2021-45458

CVE-2021-45458: Inadequate Encryption Strength

January 6, 2022 (updated July 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 and prior versions; Apache Kylin 3 and prior versions; Apache Kylin 4 and prior versions.

References

  • www.openwall.com/lists/oss-security/2022/01/06/3
  • www.openwall.com/lists/oss-security/2022/01/06/7
  • lists.apache.org/thread/oof215qz188k16vhlo97cm1jksxdowfy
  • nvd.nist.gov/vuln/detail/CVE-2021-45458

Code Behaviors & Features

Detect and mitigate CVE-2021-45458 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0 up to 2.6.6, all versions starting from 3.0.0 before 3.1.3, version 4.0.0

Fixed versions

  • 3.1.3
  • 4.0.1

Solution

Upgrade to versions 3.1.3, 4.0.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-798: Use of Hard-coded Credentials

Source file

maven/org.apache.kylin/kylin/CVE-2021-45458.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:50 +0000.