Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-6qjf-g333-pv38

Опубликовано: 14 июл. 2025
Источник: github
Github: Прошло ревью
CVSS4: 9.3

Описание

Job Iteration API is vulnerable to OS Command Injection attack through its CsvEnumerator class

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.

Пакеты

Наименование

job-iteration

rubygems
Затронутые версииВерсия исправления

< 1.11

1.11

EPSS

Процентиль: 25%
0.00086
Низкий

9.3 Critical

CVSS4

Дефекты

CWE-78

Связанные уязвимости

nvd
7 месяцев назад

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.

EPSS

Процентиль: 25%
0.00086
Низкий

9.3 Critical

CVSS4

Дефекты

CWE-78