GHSA-6qjf-g333-pv38

Suggest an improvement
Source
https://github.com/advisories/GHSA-6qjf-g333-pv38
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-6qjf-g333-pv38/GHSA-6qjf-g333-pv38.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6qjf-g333-pv38
Aliases
Published
2025-07-14T17:55:06Z
Modified
2025-07-15T23:35:17.294403Z
Severity
  • 8.1 (High) CVSS_V4 - 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/E:U CVSS Calculator
Summary
Job Iteration API is vulnerable to OS Command Injection attack through its CsvEnumerator class
Details

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 size on enumerators constructed with untrusted CSV filenames.

Database specific
{
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-78"
    ],
    "severity": "HIGH",
    "github_reviewed_at": "2025-07-14T17:55:06Z",
    "nvd_published_at": "2025-07-14T20:15:29Z"
}
References

Affected packages

RubyGems / job-iteration

Package

Name
job-iteration
Purl
pkg:gem/job-iteration

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11

Affected versions

0.*

0.9.0
0.9.1
0.9.2
0.9.3
0.9.4
0.9.5
0.9.6
0.9.7
0.9.8

1.*

1.0.0
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.1.8
1.1.9
1.1.10
1.1.11
1.1.12
1.1.13
1.1.14
1.2.0
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.4.0
1.4.1
1.5.0
1.5.1
1.6.0
1.7.0
1.8.0
1.9.0
1.10.0