Patchfirst
CVE-2022-43396 High · 8.8 EPSS 55.3%

Apache Kylin: Command injection by Useless configuration

Fix:upgrade kylin to 4.0.3 or later also fixes CVE-2020-13937, CVE-2021-45456 Details ↓

Apache Software Foundation · Apache Kylin

Summary

The Apache Software Foundation's Apache Kylin contains a flaw in its command filtering, where a blacklist used to screen user-supplied commands can be bypassed, allowing the command executed via the kylin.engine.spark-cmd configuration parameter to be controlled by the user. An attacker with low-privilege authenticated network access who can modify this configuration parameter can inject and run arbitrary commands, with no user interaction required.

Official description · CVE.org

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.

Breakdown
26.0 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 30 Dec 2022. No public exploit code or confirmed exploitation is recorded.

Affected versions and fixes

as published in the CVE record

Apache Software Foundation Apache Kylin

Affected: >= Apache Kylin 4, <= 4.0.2

Workaround

Users of Kylin 2.x & Kylin 3.x & 4.x should upgrade to 4.0.3 or apply patch  https://github.com/apache/kylin/pull/2011 https://github.com/apache/kylin/pull/2011

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: org.apache.kylin:kylin.

Mavenorg.apache.kylin:kylinGHSA-f5q9-j9r2-34gq

Upgrade to 4.0.3 or later

Fixes this CVE and 2 other known vulnerabilities in this package (CVE-2020-13937, CVE-2021-45456).

Set the version to 4.0.3 or later in your pom.xml or build.gradle.

The first fix for CVE-2022-43396.

Affected versions

If you runUpgrade to
2.0.0 up to 4.0.34.0.3

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

1 link, grouped by NVD tag
↑ ↓ chooseEnter openEsc close