В InstructLab была обнаружена ошибка. linux_train.py скрипт hardcodes trust_remote_code=True при загрузке моделей из HuggingFace. Это позволяет удаленному злоумышленнику добиться произвольного выполнения кода Python, убедив пользователя запустить ilab train/download/generate со специально созданной вредоносной моделью из HuggingFace Hub. Эта уязвимость может привести к полному компрометации системы.
Показать оригинальное описание (EN)
A flaw was found in InstructLab. The `linux_train.py` script hardcodes `trust_remote_code=True` when loading models from HuggingFace. This allows a remote attacker to achieve arbitrary Python code execution by convincing a user to run `ilab train/download/generate` with a specially crafted malicious model from the HuggingFace Hub. This vulnerability can lead to complete system compromise.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 2
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Redhat Instructlab
cpe:2.3:a:redhat:instructlab:-:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux_Ai
cpe:2.3:o:redhat:enterprise_linux_ai:3.0:*:*:*:*:*:*:*
|
— | — |