CVE-2021-45456
CRITICAL 9.8CVSS 3.1Command 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.
- Published
- 6 Jan 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-77
- Also known as
- GHSA-hw3m-8h25-8frw
- Sources
- NVDJSONOSV GHSA-hw3m-8h25-8frwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | kylincpe:2.3:a:apache:kylin:4.0.0:-:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | apache | kylincpe:2.3:a:apache:kylin:4.0.0:alpha:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | apache | kylincpe:2.3:a:apache:kylin:4.0.0:beta:*:*:*:*:*:* |
= 4.0.0 | |
| OSV | Maven | org.apache.kylin:kylin | < 4.0.1 | 4.0.1 |
References
- http://www.openwall.com/lists/oss-security/2022/01/06/1 · Mailing List, Third Party Advisory, WEB
- https://lists.apache.org/thread/70fkf9w1swt2cqdcz13rwfjvblw1fcpf · Mailing List, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-45456 · ADVISORY
- https://github.com/apache/kylin/pull/1781 · WEB
- https://github.com/apache/kylin/commit/f4daf14dde99b934c92ce2c832509f24342bc845 · WEB
- https://github.com/apache/kylin · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 6 Jan 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Jan 2022)