Vulnerabilities in pkg:gem/job-iteration
PACKAGECVE-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.
pkg:gem/job-iteration
Vulnerability advisories affecting package pkg:gem/job-iteration. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-6qjf-g333-pv38 | CVE-2025-53623 | CRITICAL | Job Iteration API is vulnerable to OS Command Injection attack through its CsvEnumerator class |
CVE-2025-53623 at a Glance
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.
Upgrade job-iteration to 1.11
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
CVE-2025-53623 Affected Job iteration Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
job-iteration
|
RubyGems |
< 1.11
|
1.11
|
References
Frequently Asked Questions
What is CVE-2025-53623?
Which Job iteration versions are affected?
What version fixes CVE-2025-53623?
Is job-iteration affected?
What CWE is associated with CVE-2025-53623?
How can I check RubyGems dependencies for CVE-2025-53623?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}