CVE-2025-53623: Job iteration Job Iteration API Is Vulnerable Vulnerability

CRITICAL
Advisory Identifier: GHSA-6qjf-g333-pv38
CWE-78
Published
Advisory Summary

CVE-2025-53623 is a CRITICAL job iteration api is vulnerable vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Job iteration libraries in the RubyGems ecosystem. The issue involves job iteration api is vulnerable to os command injection attack through its csvenumerator class. Remediation is available by upgrading affected packages to version 1.11.

CVE-2025-53623 at a Glance

CVE Identifier CVE-2025-53623
GHSA Identifier GHSA-6qjf-g333-pv38
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Product Job iteration
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix CVE-2025-53623

To remediate this vulnerability, upgrade all affected Job iteration dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

job-iteration fixed: 1.11
Upgrade job-iteration to 1.11
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for job-iteration

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-53623, inspect your project dependencies for Job iteration:

inspect dependencies for job-iteration

Analyze the terminal output to locate any version of Job iteration in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.11), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Job iteration, 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

### Impact There is an arbitrary code execution vulnerability in the `CsvEnumerator` class of the `job-iteration` repository. This vulnerability can be exploited by an attacker to execute arbitrary commands on the system where the application is running, potentially leading to unauthorized access, data leakage, or complete system compromise. ### Patches Issue is fixed in versions `1.11.0` and above. ### Workarounds Users can mitigate the risk by avoiding the use of untrusted input in the `CsvEnumerator` class and ensuring that any file paths are properly sanitized and validated before being passed to the class methods. Users should avoid calling `count_of_rows_in_file` on enumerators constructed with untrusted CSV filenames.

CVE-2025-53623 Affected Job iteration Versions

1 component(s)
Fixed Versions:
1.11
Product / Package Ecosystem Affected Versions Fixed Version
job-iteration
RubyGems
< 1.11
1.11

References

Frequently Asked Questions

What is CVE-2025-53623?
CVE-2025-53623 is a security vulnerability in Job iteration involving Job Iteration API is vulnerable to OS Command Injection attack through its CsvEnumerator class under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection').
Which Job iteration versions are affected?
Affected versions include releases prior to 1.11 across affected packages: job-iteration.
What version fixes CVE-2025-53623?
Upgrading to 1.11 (or the latest patched release for your respective branch) resolves the vulnerability.
Is job-iteration affected?
Yes, job-iteration is affected in releases prior to 1.11. Upgrade your dependency to 1.11 or later.
What CWE is associated with CVE-2025-53623?
CVE-2025-53623 is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.).
How can I check RubyGems dependencies for CVE-2025-53623?
Run the dependency tree command: 'inspect dependencies for job-iteration'. 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-6qjf-g333-pv38",
  "modified" : "2025-08-20T23:15:29Z",
  "published" : "2025-07-14T17:55:06Z",
  "aliases" : [ "CVE-2025-53623" ],
  "summary" : "Job Iteration API is vulnerable to OS Command Injection attack through its CsvEnumerator class",
  "details" : "### Impact\nThere is an arbitrary code execution vulnerability in the `CsvEnumerator` class of the `job-iteration` repository. This vulnerability can be exploited by an attacker to execute arbitrary commands on the system where the application is running, potentially leading to unauthorized access, data leakage, or complete system compromise.\n\n### Patches\nIssue is fixed in versions `1.11.0` and above.\n\n### Workarounds\nUsers can mitigate the risk by avoiding the use of untrusted input in the `CsvEnumerator` class and ensuring that any file paths are properly sanitized and validated before being passed to the class methods. Users should avoid calling `count_of_rows_in_file` on enumerators constructed with untrusted CSV filenames.",
  "severity" : [ {
    "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "job-iteration"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.11"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/Shopify/job-iteration/security/advisories/GHSA-6qjf-g333-pv38"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-53623"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Shopify/job-iteration/pull/595"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Shopify/job-iteration/commit/1a7adfdd041105a5e45e774cadc6b973a292ba55"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Shopify/job-iteration"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Shopify/job-iteration/releases/tag/v1.11.0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/job-iteration/CVE-2025-53623.yml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-78" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-07-14T17:55:06Z",
    "nvd_published_at" : "2025-07-14T20:15:29Z"
  }
}