9.8critical
Command injection
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 88.9% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-hw3m-8h25-8frw
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Kylin | Apache Kylin 4 4.0.0 | CVE List |
| org.apache.kylin:kylin (Maven) | before 4.0.1 | GitHub Advisory Database |
| apache kylin | 4.0.0 | NVD |
All scores
| GitHub | medium rating | |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Apache kylin comprueba la legitimidad del proyecto antes de ejecutar algunos comandos con el nombre del proyecto pasado por el usuario. Se presenta un desajuste entre lo que es comprobado y lo que es usado como argumento del comando del shell en DiagnosisService. Esto puede causar que un nombre de proyecto ilegal pase la comprobación y lleve a cabo los siguientes pasos, resultando en una vulnerabilidad de inyección de comandos. Este problema afecta a Apache Kylin 4.0.0.
References
| https://lists.apache.org/thread/70fkf9w1swt2cqdcz13rwfjvblw1fcpf | mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2022/01/06/1 | mailing-list, third-party-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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-45456 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hw3m-8h25-8frw changed 2024-12-04 | CC-BY-4.0 |
| NVD | CVE-2021-45456 changed 2026-06-17 | Public domain |