{"schemaVersion":4,"id":"CVE-2025-53623","aliases":["GHSA-6qjf-g333-pv38"],"status":"published","duplicateOf":null,"title":"Job Iteration API is vulnerable to OS Command Injection attack through its CsvEnumerator class","description":"The Job Iteration API is an an extension for ActiveJob that make jobs interruptible and resumable Versions prior to 1.11.0 have an arbitrary code execution vulnerability in the `CsvEnumerator` class. 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. The issue is fixed in versions `1.11.0` and above. 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 using the `count_of_rows_in_file` method with untrusted CSV filenames.","dates":{"published":"2025-07-14T19:56:54.995Z","modified":"2025-07-15T19:51:01.752Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.1,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Rubygems","score":9.3,"severity":"critical","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.1,"severity":"high","vector":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00833,"percentile":0.5892,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00833},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00706,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00775,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01595,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01595,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01595,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01595,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01595,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01595,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00833,"percentile":0.5892}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01595,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01595,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01595,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01595,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01595,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01595,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00833,"percentile":0.5892}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command","description":"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 before it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"RubyGems","product":"job-iteration","name":"job-iteration","label":"job-iteration","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/job-iteration","purlType":"gem","versions":[{"text":"< 1.11","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.11","endInclusive":false}}],"versionsText":"< 1.11","eol":null,"hubHref":null},{"vendor":"shopify","product":"job-iteration","name":"job-iteration","label":"job-iteration","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.11.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.11.0","endInclusive":false}}],"versionsText":"< 1.11.0","eol":null,"hubHref":"/vendor/shopify/job-iteration"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/Shopify/job-iteration/security/advisories/GHSA-6qjf-g333-pv38","label":"github.com/Shopify/job-iteration/security/advisories/GHSA-6qjf-g333-pv38","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://github.com/Shopify/job-iteration/pull/595","label":"github.com/Shopify/job-iteration/pull/595","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/Shopify/job-iteration/commit/1a7adfdd041105a5e45e774cadc6b973a292ba55","label":"github.com/Shopify/job-iteration/commit/1a7adfdd041105a5e45e774cadc6b973a292ba55","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/Shopify/job-iteration/releases/tag/v1.11.0","label":"github.com/Shopify/job-iteration/releases/tag/v1.11.0","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53623","label":"nvd.nist.gov/vuln/detail/CVE-2025-53623","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/Shopify/job-iteration","label":"github.com/Shopify/job-iteration","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/job-iteration/CVE-2025-53623.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/job-iteration/CVE-2025-53623.yml","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-07-14T19:56:54.995Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-07-15T19:51:01.752Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 8.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability: affected before 1.11.0 (CNA); fix release not confirmed","rank":[0,0,0,0,1,81],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00833,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-07-15T19:51:01.752Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"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","version":"4.0","headline":true},{"type":"cvss","source":"osv_rubygems","date":"2025-07-15T19:51:01.752Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.3,"vector":"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","version":"4.0"},{"type":"cvss","source":"nvd","date":"2025-07-15T19:51:01.752Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"adp","source":"cisa-adp","date":"2025-07-15T15:01:44.187Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00833,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T08:03:29.184Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T08:03:29.748Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T08:03:29.946Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T08:01:00.622Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T08:03:27.537Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T08:03:26.585Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T08:46:51.881Z","stale":false,"partial":false}}