CVE-2024-27348: Apache HugeGraph-Server Command Execution Vulnerability
CRITICALCVE-2024-27348 is a CRITICAL (CVSS 9.8) command execution vulnerability (CWE-284: Improper Access Control) affecting Apache HugeGraph-Server libraries in the Maven ecosystem. The issue involves command execution in gremlin. Remediation is available by upgrading affected packages to version 1.3.0.
CVE-2024-27348 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H).
How to Fix CVE-2024-27348
To remediate this vulnerability, upgrade all affected Apache HugeGraph-Server 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.hugegraph</groupId>
<artifactId>hugegraph-api</artifactId>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>org.apache.hugegraph</groupId>
<artifactId>hugegraph-core</artifactId>
<version>1.3.0</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.hugegraph
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-27348, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.hugegraph
Analyze the terminal output to locate any version of Apache HugeGraph-Server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.hugegraph 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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Apache HugeGraph-Server, 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-2024-27348 Affected Apache HugeGraph-Server Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.hugegraph:hugegraph-api
|
Maven |
≥ 1.0.0
< 1.3.0
|
1.3.0
|
|
org.apache.hugegraph:hugegraph-core
|
Maven |
≥ 1.0.0
< 1.3.0
|
1.3.0
|
References
Frequently Asked Questions
What is CVE-2024-27348?
Which Apache HugeGraph-Server versions are affected?
What version fixes CVE-2024-27348?
Is hugegraph-api affected?
Is hugegraph-core affected?
What is the CVSS score of CVE-2024-27348?
What CWE is associated with CVE-2024-27348?
How can I check Maven dependencies for CVE-2024-27348?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-29rc-vq7f-x335",
"modified" : "2025-10-22T19:25:17Z",
"published" : "2024-04-22T15:30:41Z",
"aliases" : [ "CVE-2024-27348" ],
"summary" : "Apache HugeGraph-Server: Command execution in gremlin",
"details" : "RCE-Remote Command Execution vulnerability in Apache HugeGraph-Server.This issue affects Apache HugeGraph-Server: from 1.0.0 before 1.3.0 in Java8 & Java11\n\nUsers are recommended to upgrade to version 1.3.0 with Java11 & enable the Auth system, which fixes the issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.hugegraph:hugegraph-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.3.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.hugegraph:hugegraph-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.3.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-27348"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/incubator-hugegraph/commit/713d88d1fd9953c3c3e3f130389501910ba40e1d"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/incubator-hugegraph"
}, {
"type" : "WEB",
"url" : "https://hugegraph.apache.org/docs/config/config-authentication/#configure-user-authentication"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/nx6g6htyhpgtzsocybm242781o8w5kq9"
}, {
"type" : "WEB",
"url" : "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-27348"
}, {
"type" : "WEB",
"url" : "https://www.vicarius.io/vsociety/posts/remote-code-execution-vulnerability-in-apache-hugegraph-server-cve-2024-27348"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2024/04/22/3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284", "CWE-77" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-22T18:37:52Z",
"nvd_published_at" : "2024-04-22T14:15:07Z"
}
}