{"id":"GHSA-6qjf-g333-pv38","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.","aliases":["CVE-2025-53623"],"modified":"2025-08-20T23:33:56.765583Z","published":"2025-07-14T17:55:06Z","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"},"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"}],"affected":[{"package":{"name":"job-iteration","ecosystem":"RubyGems","purl":"pkg:gem/job-iteration"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11"}]}],"versions":["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.0.0","1.1.0","1.1.1","1.1.10","1.1.11","1.1.12","1.1.13","1.1.14","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.10.0","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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-6qjf-g333-pv38/GHSA-6qjf-g333-pv38.json"}}],"schema_version":"1.9.0","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"}]}