Vulnerabilities in pkg:maven/com.aizuda/snail-job

PACKAGE
Advisory Identifier: GHSA-3f8c-8h8v-p54h
Advisory Summary

CVE-2025-14674 is a MODERATE (CVSS 6.3) snail-job is vulnerable to code vulnerability (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')) affecting Snail job libraries in the Maven ecosystem. The issue involves snail-job is vulnerable to code injection through qlexpressengine.doeval function. Remediation is available by upgrading affected packages to version 1.7.0-beta1.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/com.aizuda/snail-job

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/com.aizuda/snail-job. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-3f8c-8h8v-p54h CVE-2025-14674 MODERATE snail-job is vulnerable to Code Injection through QLExpressEngine.doEval function
GHSA-4m5h-5v4q-4xgq CVE-2025-2622 MODERATE aizuda snail-job Vulnerable to Deserialization via `nodeExpression` Argument

CVE-2025-14674 at a Glance

CVE Identifier CVE-2025-14674
GHSA Identifier GHSA-3f8c-8h8v-p54h
Severity MODERATE
CVSS v3.1 Base Score 6.3
CWE Classification CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Affected Product Snail job
Package Ecosystem Maven
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2025-14674

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.

com.aizuda:snail-job fixed: 1.7.0-beta1
<dependency>
    <groupId>com.aizuda</groupId>
    <artifactId>snail-job</artifactId>
    <version>1.7.0-beta1</version>
</dependency>
Verify Direct and Transitive Dependencies

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-14674, 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 1.7.0-beta1), 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-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'), where the product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. 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

A vulnerability was found in aizuda snail-job up to 1.6.0. Affected by this vulnerability is the function QLExpressEngine.doEval of the file snail-job-common/snail-job-common-core/src/main/java/com/aizuda/snailjob/common/core/expression/strategy/QLExpressEngine.java. The manipulation results in injection. The attack can be launched remotely. Upgrading to version 1.7.0-beta1 addresses this issue. The patch is identified as 978f316c38b3d68bb74d2489b5e5f721f6675e86. The affected component should be upgraded.

CVE-2025-14674 Affected Snail job Versions

1 component(s)
Fixed Versions:
1.7.0-beta1
Product / Package Ecosystem Affected Versions Fixed Version
com.aizuda:snail-job
Maven
< 1.7.0-beta1
1.7.0-beta1

References

Frequently Asked Questions

What is CVE-2025-14674?
CVE-2025-14674 is a security vulnerability in Snail job involving snail-job is vulnerable to Code Injection through QLExpressEngine.doEval function under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection').
Which Snail job versions are affected?
Affected versions include releases prior to 1.7.0-beta1 across affected packages: com.aizuda:snail-job.
What version fixes CVE-2025-14674?
Upgrading to 1.7.0-beta1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is snail-job affected?
Yes, com.aizuda:snail-job is affected in releases prior to 1.7.0-beta1. Upgrade your dependency to 1.7.0-beta1 or later.
What is the CVSS score of CVE-2025-14674?
CVE-2025-14674 has a CVSS v3.1 base score of 6.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2025-14674?
CVE-2025-14674 is classified under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.).
How can I check Maven dependencies for CVE-2025-14674?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.aizuda'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3f8c-8h8v-p54h",
  "modified" : "2025-12-16T00:45:18Z",
  "published" : "2025-12-14T18:31:30Z",
  "aliases" : [ "CVE-2025-14674" ],
  "summary" : "snail-job is vulnerable to Code Injection through QLExpressEngine.doEval function",
  "details" : "A vulnerability was found in aizuda snail-job up to 1.6.0. Affected by this vulnerability is the function QLExpressEngine.doEval of the file snail-job-common/snail-job-common-core/src/main/java/com/aizuda/snailjob/common/core/expression/strategy/QLExpressEngine.java. The manipulation results in injection. The attack can be launched remotely. Upgrading to version 1.7.0-beta1 addresses this issue. The patch is identified as 978f316c38b3d68bb74d2489b5e5f721f6675e86. The affected component should be upgraded.",
  "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"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.7.0-beta1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-14674"
  }, {
    "type" : "WEB",
    "url" : "https://gitee.com/aizuda/snail-job/commit/978f316c38b3d68bb74d2489b5e5f721f6675e86"
  }, {
    "type" : "WEB",
    "url" : "https://gitee.com/aizuda/snail-job/issues/ICNUG0"
  }, {
    "type" : "WEB",
    "url" : "https://gitee.com/aizuda/snail-job/issues/ICNUG0#note_44321424_link"
  }, {
    "type" : "WEB",
    "url" : "https://gitee.com/aizuda/snail-job/releases/tag/vsj1.7.0-beta1"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/aizuda/snail-job"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?ctiid.336403"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?id.336403"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-74" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-16T00:45:18Z",
    "nvd_published_at" : "2025-12-14T18:15:43Z"
  }
}