CVE-2025-30067: Kylin Apache Kylin Code Injection Vulnerability
LOWCVE-2025-30067 is a LOW apache kylin code injection vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Kylin libraries in the Maven ecosystem. The issue involves apache kylin code injection via jdbc configuration alteration. Remediation is available by upgrading affected packages to version 5.0.2.
CVE-2025-30067 at a Glance
How to Fix CVE-2025-30067
To remediate this vulnerability, upgrade all affected Kylin dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.kylin</groupId>
<artifactId>kylin</artifactId>
<version>5.0.2</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.kylin
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-30067, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.kylin
Analyze the terminal output to locate any version of Kylin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.2), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.kylin command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Kylin, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-30067 Affected Kylin Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.kylin:kylin
|
Maven |
≥ 4.0.0
< 5.0.2
|
5.0.2
|
References
Frequently Asked Questions
What is CVE-2025-30067?
Which Kylin versions are affected?
What version fixes CVE-2025-30067?
Is kylin affected?
What CWE is associated with CVE-2025-30067?
How can I check Maven dependencies for CVE-2025-30067?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-29m8-wh9p-5wc4",
"modified" : "2025-03-27T18:18:39Z",
"published" : "2025-03-27T15:31:14Z",
"aliases" : [ "CVE-2025-30067" ],
"summary" : "Apache Kylin Code Injection via JDBC Configuration Alteration",
"details" : "Improper Control of Generation of Code ('Code Injection') vulnerability in Apache Kylin. \nIf an attacker gets access to Kylin's system or project admin permission, the JDBC connection configuration maybe altered to execute arbitrary code from the remote. You are fine as long as the Kylin's system and project admin access is well protected.\n\nThis issue affects Apache Kylin: from 4.0.0 through 5.0.1.\n\nUsers are recommended to upgrade to version 5.0.2 or above, which fixes the issue.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.kylin:kylin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "5.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-30067"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/kylin/commit/21d98f3ef29f71b50dacabbf039905f9f0f71b95"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/kylin"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/KYLIN-5994"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/6j19pt8yoqfphf1lprtrzoqkvz1gwbnc"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-94" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-03-27T18:18:39Z",
"nvd_published_at" : "2025-03-27T15:16:02Z"
}
}