CVE-2022-24697
Java vulnerability analysis and mitigation

Overview

Apache Kylin, an open-source Distributed Analytical Data Warehouse for Big Data, was found to contain a command injection vulnerability (CVE-2022-24697) in its cube designer function. The vulnerability was discovered by Kai Zhao of the ToTU Security Team and 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. The vulnerability was disclosed on October 11, 2022 (Security Online, CVE Mitre).

Technical details

The vulnerability exists in the configuration overwrites menu when overwriting system parameters. An attacker can execute arbitrary commands by closing the single quotation marks around the parameter value of "--conf=" to inject operating system commands into the command line parameters. This vulnerability was later found to have an incomplete fix, leading to CVE-2022-43396, where the blacklist implementation used to filter user input commands could be bypassed through the kylin.engine.spark-cmd parameter of conf (Openwall).

Impact

The vulnerability allows remote code execution (RCE) capabilities, enabling attackers to execute arbitrary commands on the system through specially-crafted requests using the value parameter (Security Online).

Mitigation and workarounds

Users of affected versions are advised to upgrade to Apache Kylin version 4.0.2 or apply the patch available at GitHub PR #1811. However, due to an incomplete fix, users should further upgrade to version 4.0.3 or apply the patch in GitHub PR #2011 to address the subsequent CVE-2022-43396 (Openwall).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66516CRITICAL10
  • JavaJava
  • tika
NoYesDec 04, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • org.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
CVE-2025-11222MEDIUM6.1
  • JavaJava
  • com.linecorp.centraldogma:centraldogma-server-auth-shiro
NoYesDec 04, 2025
CVE-2025-66453MEDIUM5.5
  • JavaJava
  • org.mozilla:rhino
NoYesDec 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management