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

exploitDog

github логотип

GHSA-ggmr-44cv-24pm

Опубликовано: 09 дек. 2021
Источник: github
Github: Прошло ревью
CVSS3: 7.8

Описание

Code injection via unsafe YAML loading

Impact

Sockeye uses YAML to store model and data configurations on disk. Versions below 2.3.24 use unsafe YAML loading, which can be made to execute arbitrary code embedded in config files.

An attacker can add malicious code to the config file of a trained model and attempt to convince users to download and run it. If users run the model, the embedded code will run locally.

Patches

The issue is fixed in version 2.3.24 and above by #964.

For more information

If you have any questions or comments about this advisory:

Attribution

This vulnerability was reported by Masatoshi Yoshizawa of yamory Security Team.

Пакеты

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

sockeye

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

< 2.3.24

2.3.24

EPSS

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

7.8 High

CVSS3

Дефекты

CWE-94

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

CVSS3: 7.8
nvd
около 4 лет назад

Sockeye is an open-source sequence-to-sequence framework for Neural Machine Translation built on PyTorch. Sockeye uses YAML to store model and data configurations on disk. Versions below 2.3.24 use unsafe YAML loading, which can be made to execute arbitrary code embedded in config files. An attacker can add malicious code to the config file of a trained model and attempt to convince users to download and run it. If users run the model, the embedded code will run locally. The issue is fixed in version 2.3.24.

EPSS

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

7.8 High

CVSS3

Дефекты

CWE-94