CVE-2024-3366: Xxl job core Xuxueli Xxl-job Template Injection Vulnerability Vulnerability
LOWCVE-2024-3366 is a LOW (CVSS 3.5) xuxueli xxl-job template injection vulnerability vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Xxl job core libraries in the Maven ecosystem. The issue involves xuxueli xxl-job template injection vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2024-3366 at a Glance
Security Impact
CVSS: 3.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N).
How to Fix CVE-2024-3366
To remediate this vulnerability, upgrade all affected Xxl job core 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>com.xuxueli</groupId>
<artifactId>xxl-job-core</artifactId>
<version>Latest secure release</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.xuxueli
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-3366, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.xuxueli
Analyze the terminal output to locate any version of Xxl job core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.xuxueli 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-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Xxl job core, 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-3366 Affected Xxl job core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.xuxueli:xxl-job-core
|
Maven |
≤ 2.4.0
|
|
References
Frequently Asked Questions
What is CVE-2024-3366?
Which Xxl job core versions are affected?
What version fixes CVE-2024-3366?
Is xxl-job-core affected?
What is the CVSS score of CVE-2024-3366?
What CWE is associated with CVE-2024-3366?
How can I check Maven dependencies for CVE-2024-3366?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2v42-xp3j-47m4",
"modified" : "2025-05-23T18:32:28Z",
"published" : "2024-04-06T12:30:56Z",
"aliases" : [ "CVE-2024-3366" ],
"summary" : "Xuxueli xxl-job template injection vulnerability",
"details" : "A vulnerability classified as problematic was found in Xuxueli xxl-job version 2.4.0. This vulnerability affects the function `deserialize` of the file `com/xxl/job/core/util/JdkSerializeTool.java` of the component `Template Handler`. The manipulation leads to injection. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-259480.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.xuxueli:xxl-job-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "2.4.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-3366"
}, {
"type" : "WEB",
"url" : "https://github.com/xuxueli/xxl-job/issues/3391"
}, {
"type" : "WEB",
"url" : "https://github.com/xuxueli/xxl-job/commit/e3b2e1234614195390f46e26c15cd4881bd4dbe3"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/xuxueli/xxl-job"
}, {
"type" : "WEB",
"url" : "https://github.com/xuxueli/xxl-job/blob/761de38a0b2a39706e2008e7914fba13bf4ca184/xxl-job-core/src/main/java/com/xxl/job/core/util/JdkSerializeTool.java#L4"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.259480"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.259480"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?submit.308180"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502", "CWE-74" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-08T15:42:15Z",
"nvd_published_at" : "2024-04-06T11:15:08Z"
}
}