CVE-2022-43396 Apache Kylin: Command injection by Useless configuration
Attackers can execute arbitrary commands by bypassing input filters via the kylin.engine.spark-cmd configuration parameter in Apache Kylin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-43396?
CVE-2022-43396 is a high-severity command injection vulnerability in Apache Kylin, published on 30 Dec 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
In the fix for CVE-2022-24697, a blacklist is used to filter user input commands. But there is a risk of being bypassed. The user can control the command by controlling the kylin.engine.spark-cmd parameter of conf.
Weakness: CWE-184
Which versions are affected by CVE-2022-43396?
2 open source packages ship an affected version, including org.apache.kylin:kylin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.kylin:kylin Maven | From 2.0.0 | 4.0.3 |
org.apache.kylin:kylin Maven | From 2.0.0 | 4.0.3 |
Products include Apache Kylin.
How do I fix CVE-2022-43396?
Upgrade org.apache.kylin:kylin to 4.0.3 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2022-43396 being exploited?
There is no known exploitation of CVE-2022-43396 in the wild and no public exploit code.
Other vulnerabilities in Apache Kylin
- CVE-2020-1956 Apache Kylin OS Command Injection
- CVE-2026-62390 Apache Kylin: SQL Injection Vulnerability in Catalog Cache Refresh API
- CVE-2022-44621 Apache Kylin: Command injection by Diagnosis Controller
- CVE-2022-24697 Apache Kylin vulnerable to remote code execution
- CVE-2021-31522 Apache Kylin unsafe class loading
Sources
Also known as GHSA-f5q9-j9r2-34gq.