Cyber Resilience

CVE-2022-24697

RCE in Apache Kylin 2.0.0 – 2.6.6

Published
13 October 2022
Modified
16 May 2025
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.85 99.7th percentile
Risk Priority 97 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2022-24697 is a critical-severity OS Command Injection (CWE-78) vulnerability in Apache Kylin. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Command and Scripting Interpreter (T1059); ranked in the top 0.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Apache Kylin contains a command injection vulnerability in its cube designer function, specifically when system parameters are overwritten through the configuration overwrites menu. By closing the single quotation marks around the value of the "--conf=" parameter, an attacker can inject arbitrary operating system commands. The flaw affects Kylin 2 versions up to and including 2.6.5, Kylin 3 versions up to and including 3.1.2, and Kylin 4 versions up to and including 4.0.1, and carries a CVSS score of 9.8 under CWE-78.

Unauthenticated remote attackers can exploit the issue over the network without user interaction to achieve full remote code execution on the affected Kylin instance, potentially compromising confidentiality, integrity, and availability of the system.

Public advisories published through the Apache mailing lists and oss-security detail the affected releases and recommend upgrading to patched versions once available. The EPSS score rose materially from lower values to a peak of 0.4033 on 2025-12-11 before receding to the current 0.1359, indicating increased exploitation interest after disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1059 Command and Scripting Interpreter Execution
Adversaries may abuse command and script interpreters to execute commands, scripts, or binaries.
T1059.003 Windows Command Shell Execution
Adversaries may abuse the Windows command shell for execution.
T1059.004 Unix Shell Execution
Adversaries may abuse Unix shell commands and scripts for execution.
T1059.001 PowerShell Execution
Adversaries may abuse PowerShell commands and scripts for execution.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2020-1956Same product: Apache Kylin
CVE-2026-62392Same product: Apache Kylin
CVE-2021-45456Same product: Apache Kylin
CVE-2022-43396Same product: Apache Kylin
CVE-2015-7611Same vendor: Apache
CVE-2020-11978Same vendor: Apache
CVE-2025-54941Same vendor: Apache
CVE-2022-24288Same vendor: Apache
CVE-2022-33891Same vendor: Apache
CVE-2023-29055Same product: Apache Kylin

Affected Assets

apache
kylin
2.0.0 — 2.6.6 · 3.0.0 — 3.1.2 · 4.0.0 — 4.0.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.2.5
  • V1.2.8
  • V15.2.5

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-78

Platform-independent apps typically execute inside a managed runtime or sandbox that restricts direct OS command execution, reducing the ability to exploit OS command injection.

addresses: CWE-78

Validates inputs to block special elements that would alter OS command execution.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

PR.PS-06's SDLC practices directly require secure coding and input handling that blocks command-injection defects, yet the single broad outcome leaves many specific neutralization vectors and verification gaps unaddressed.

PR.PS-02 partial match
prevents

Routine patching/maintenance can remediate known command-injection CVEs in dependencies (partial forward) but does nothing to stop developers from introducing improper neutralization in custom code (none reverse).

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing and code review target insecure use of operating-system command interfaces, catching command-injection flaws introduced during development.

References