Loading...
Skip to main content

CVE-2022-24697 — Vulnerability in...

CRITICAL

Apache Kylin vulnerable to remote code execution

Published July 6, 2023Updated May 16, 2025Source: osv

Summary

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.

Advisory Timeline

  • First published July 6, 2023 (1194 days ago).
  • Last revised May 16, 2025 — 680 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.kylin:kylin-server-base to 4.0.2 or later
<!-- Update pom.xml dependency version to 4.0.2 for org.apache.kylin:kylin-server-base -->
Maven
Update org.apache.kylin:kylin-core-common to 4.0.2 or later
<!-- Update pom.xml dependency version to 4.0.2 for org.apache.kylin:kylin-core-common -->
Maven
Update org.apache.kylin:kylin-spark-project to 4.0.2 or later
<!-- Update pom.xml dependency version to 4.0.2 for org.apache.kylin:kylin-spark-project -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: maven (3).

PackageEcosystemAffectedFixed In
org.apache.kylin:kylin-server-base
maven
1.5.3, 1.5.4, 1.5.4.1, 1.6.0 (+31 more)4.0.2
org.apache.kylin:kylin-core-common
maven
1.5.0, 1.5.1, 1.5.2, 1.5.2.1 (+35 more)4.0.2
org.apache.kylin:kylin-spark-project
maven
4.0.0, 4.0.0-alpha, 4.0.0-beta, 4.0.14.0.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2022-24697?
Apache Kylin vulnerable to remote code execution This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2022-24697?
CVE-2022-24697 affects org.apache.kylin:kylin-server-base, org.apache.kylin:kylin-core-common and org.apache.kylin:kylin-spark-project. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-24697 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-ppxx-m926-g569

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies