CVE-2022-43396 Apache Kylin: Command injection by Useless configuration

High 8.8 Published Updated

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.

PackageAffectedFixed in
org.apache.kylin:kylin MavenFrom 2.0.04.0.3
org.apache.kylin:kylin MavenFrom 2.0.04.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.

Sources

Also known as GHSA-f5q9-j9r2-34gq.

Is CVE-2022-43396 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free