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

CVE-2021-45456: Improper Neutralization of Special Elements used in a Command ('Command Injection')

January 6, 2022 (updated January 13, 2022)

Apache kylin checks the legitimacy of the project before executing some commands with the project name passed in by the user. There is a mismatch between what is being checked and what is being used as the shell command argument in DiagnosisService. This may cause an illegal project name to pass the check and perform the following steps, resulting in a command injection vulnerability. This issue affects Apache Kyl

References

  • www.openwall.com/lists/oss-security/2022/01/06/1
  • lists.apache.org/thread/70fkf9w1swt2cqdcz13rwfjvblw1fcpf
  • nvd.nist.gov/vuln/detail/CVE-2021-45456

Code Behaviors & Features

Detect and mitigate CVE-2021-45456 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

Version 4.0.0

Fixed versions

  • 4.0.1

Solution

Upgrade to version 4.0.1 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

maven/org.apache.kylin/kylin/CVE-2021-45456.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:59 +0000.