critical9.8
CVE-2021-45456
Command Injection in Apache Kylin
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.apache.kylin:kylin | < 4.0.1 | 4.0.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Kylin | Version 4.0.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.openwall.com/lists/oss-security/2022/01/06/1
- https://lists.apache.org/thread/70fkf9w1swt2cqdcz13rwfjvblw1fcpf
- https://github.com/advisories/GHSA-hw3m-8h25-8frw
- https://nvd.nist.gov/vuln/detail/CVE-2021-45456
- https://github.com/apache/kylin/pull/1781
- https://github.com/apache/kylin/commit/f4daf14dde99b934c92ce2c832509f24342bc845