# CVE-2021-45456: Command injection

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 88.9%, higher than 99% of CVEs (2026-12-01)
- Published: 2022-01-06T12:35:21.000Z
- Modified: 2026-06-17T04:13:24.063Z
- Also known as: GHSA-hw3m-8h25-8frw
- Weaknesses: CWE-77
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Kylin: Apache Kylin 4 4.0.0
- org.apache.kylin:kylin (Maven): before 4.0.1
- apache kylin: 4.0.0

## Every score

- GitHub: rating Medium
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## 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

- CVE List: [CVE-2021-45456](https://www.cve.org/CVERecord?id=CVE-2021-45456), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-hw3m-8h25-8frw](https://github.com/advisories/GHSA-hw3m-8h25-8frw), CC-BY-4.0, modified 2024-12-04
- NVD: [CVE-2021-45456](https://nvd.nist.gov/vuln/detail/CVE-2021-45456), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-45456 · Whole record: https://cve.day/CVE-2021-45456.json · Rebuilt by cve.day 2026-11-25T22:58:06.413Z
