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

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, ranked in the top 0.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and SI-2 (Flaw Remediation) — see the control section below for these in your framework.

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

Likely ATT&CK TechniquesAI

Techniques this vulnerability likely enables, inferred from its description, weakness type, and attributed-actor tradecraft. Confidence is per-technique.

T1190 Exploit Public-Facing Application Initial Accessconfidence: HIGH
Unauthenticated remote command injection in a public-facing Apache Kylin web application directly enables exploitation of remote services for initial access.
T1059.004 Unix Shell Executionconfidence: HIGH
The vulnerability allows injection of arbitrary OS commands via the --conf parameter, enabling Unix shell command execution.
T1068 Exploitation for Privilege Escalation Privilege Escalationconfidence: HIGH
Successful command injection yields code execution as the Kylin process, facilitating local privilege escalation on the host.
inferred from description + CWE · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

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

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)
  • SI-10 Information Input Validation
  • SI-2 Flaw Remediation
  • CM-7 Least Functionality
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

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires validation and sanitization of untrusted input (the --conf= parameter) to block OS command injection.

prevent

Mandates prompt application of vendor patches that eliminate the command-injection flaw in the cube designer.

prevent

Enforces least functionality by disabling or restricting the configuration-overwrites feature that accepts and executes shell commands.

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.

detects

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

References