CVE-2025-2622: Snail job Aizuda Snail-job Vulnerable To Deserialization Vulnerability
MODERATECVE-2025-2622 is a MODERATE (CVSS 6.3) aizuda snail-job vulnerable to deserialization vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Snail job libraries in the Maven ecosystem. The issue involves aizuda snail-job vulnerable to deserialization via `nodeexpression` argument. Remediation is available in the latest vendor maintenance releases.
CVE-2025-2622 at a Glance
Security Impact
CVSS: 6.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2025-2622
To remediate this vulnerability, upgrade all affected Snail job 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.aizuda</groupId>
<artifactId>snail-job</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.aizuda
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-2622, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.aizuda
Analyze the terminal output to locate any version of Snail job 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.aizuda 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 Snail job, 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-2622 Affected Snail job Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.aizuda:snail-job
|
Maven |
1.4.0
All 1 versions
1.4.0
|
None specified
|
References
Frequently Asked Questions
What is CVE-2025-2622?
Which Snail job versions are affected?
What version fixes CVE-2025-2622?
Is snail-job affected?
What is the CVSS score of CVE-2025-2622?
What CWE is associated with CVE-2025-2622?
How can I check Maven dependencies for CVE-2025-2622?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4m5h-5v4q-4xgq",
"modified" : "2025-03-24T19:57:56Z",
"published" : "2025-03-22T18:30:25Z",
"aliases" : [ "CVE-2025-2622" ],
"summary" : "aizuda snail-job Vulnerable to Deserialization via `nodeExpression` Argument",
"details" : "A vulnerability was found in aizuda snail-job 1.4.0. It has been classified as critical. Affected is the function getRuntime of the file /snail-job/workflow/check-node-expression of the component Workflow-Task Management Module. The manipulation of the argument nodeExpression leads to deserialization. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.aizuda:snail-job"
},
"versions" : [ "1.4.0" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-2622"
}, {
"type" : "PACKAGE",
"url" : "https://gitee.com/aizuda/snail-job"
}, {
"type" : "WEB",
"url" : "https://gitee.com/aizuda/snail-job/issues/IBSQ24"
}, {
"type" : "WEB",
"url" : "https://gitee.com/aizuda/snail-job/issues/IBSQ24#note_38500450_link"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.300624"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.300624"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?submit.518999"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-502" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-03-24T19:57:55Z",
"nvd_published_at" : "2025-03-22T17:15:35Z"
}
}