GHSA-hw3m-8h25-8frw
Command Injection in Apache Kylin
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.apache.kylin:kylin | < 4.0.1 | 4.0.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- 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