CVE-2022-24697
Apache Kylin vulnerable to remote code execution
Description
Kylin's cube designer function has a command injection vulnerability when overwriting system parameters in the configuration overwrites menu. RCE can be implemented by closing the single quotation marks around the parameter value of “-- conf=” to inject any operating system command into the command line parameters. This vulnerability affects Kylin 2 version 2.6.5 and earlier, Kylin 3 version 3.1.2 and earlier, and Kylin 4 version 4.0.1 and earlier.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.kylin » kylin-core-common | < 4.0.2 | 4.0.2 |
| org.apache.kylin » kylin-server-base | < 4.0.2 | 4.0.2 |
| org.apache.kylin » kylin-spark-project | < 4.0.2 | 4.0.2 |
Blast radius
69% of the dependent artifacts (45) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 312 |
| 2 hops | 593 |
| 3 hops | 365 |
| 4 hops | 51 |
| 5 hops | 3 |
| 6 hops | 3 |
Most used dependents
- org.apache.kylin » kylin-core-metadata48 usages
- org.apache.kylin » kylin-core-job22 usages
- io.kyligence.kap » kap-core-common22 usages
- org.apache.kylin » kylin-core-storage19 usages
- org.apache.kylin » kylin-query16 usages
- org.apache.kylin » kylin-engine-spark16 usages
- org.apache.kylin » kylin-source-hive14 usages
- org.apache.kylin » kylin-storage-hbase14 usages
- org.apache.kylin » kylin-tool12 usages
- io.kyligence.kap » kap-core-cube12 usages
- org.apache.kylin » kylin-core-cube11 usages
- org.apache.kylin » kylin-engine-mr11 usages
- org.apache.kylin » kylin-spark-common11 usages
- org.apache.kylin » kylin-datasource-sdk10 usages
- io.kyligence.kap » kap-core-metadata10 usages
Computed from the dependency graph of build 20261204.0837 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2022-24697 | nvd.nist.gov |
| Package | apache/kylin | github.com |
| Web | apache/kylin pull request #1811 | github.com |
| Web | thread/07mnn9c7o314wrhrwjr10w9j5s82voj4 | lists.apache.org |
| Web | lists/oss-security/2022/12/30/1 | openwall.com |
