Command Injection in Apache Kylin
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 Kylin 4.0.0.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.kylin:kylin | < 4.0.1 | 4.0.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-45456
- https://github.com/apache/kylin/pull/1781
- https://github.com/apache/kylin/commit/f4daf14dde99b934c92ce2c832509f24342bc845
- https://github.com/apache/kylin
- https://lists.apache.org/thread/70fkf9w1swt2cqdcz13rwfjvblw1fcpf
- http://www.openwall.com/lists/oss-security/2022/01/06/1
- Weakness (CWE)
CWE-77- Platform
- Java / Kotlin (Maven)
- Package
org.apache.kylin:kylin- Disclosed
- 08.01.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-hw3m-8h25-8frw - CC BY 4.0
Vulnerability history: org.apache.kylin:kylin
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 13
- First → latest
- 01.2022 10.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 7
- Medium 5
- Low 1
Disclosures per year
- 2022: 8
- 2023: 0
- 2024: 1
- 2025: 4
- 2026: 0
-
Command Injection in Apache Kylin this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.