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

exploitDog

github логотип

GHSA-48g7-3x6r-xfhp

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

Описание

Arbitrary Code Execution via Crafted Keras Config for Model Loading

Impact

The Keras Model.load_model function permits arbitrary code execution, even with safe_mode=True, through a manually constructed, malicious .keras archive. By altering the config.json file within the archive, an attacker can specify arbitrary Python modules and functions, along with their arguments, to be loaded and executed during model loading.

Patches

This problem is fixed starting with version 3.9.

Workarounds

Only load models from trusted sources and model archives created with Keras.

References

Пакеты

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

keras

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

>= 3.0.0, < 3.9.0

3.9.0

EPSS

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

7.3 High

CVSS4

Дефекты

CWE-94

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

CVSS3: 9.8
ubuntu
8 месяцев назад

The Keras Model.load_model function permits arbitrary code execution, even with safe_mode=True, through a manually constructed, malicious .keras archive. By altering the config.json file within the archive, an attacker can specify arbitrary Python modules and functions, along with their arguments, to be loaded and executed during model loading.

CVSS3: 8.2
redhat
8 месяцев назад

The Keras Model.load_model function permits arbitrary code execution, even with safe_mode=True, through a manually constructed, malicious .keras archive. By altering the config.json file within the archive, an attacker can specify arbitrary Python modules and functions, along with their arguments, to be loaded and executed during model loading.

CVSS3: 9.8
nvd
8 месяцев назад

The Keras Model.load_model function permits arbitrary code execution, even with safe_mode=True, through a manually constructed, malicious .keras archive. By altering the config.json file within the archive, an attacker can specify arbitrary Python modules and functions, along with their arguments, to be loaded and executed during model loading.

CVSS3: 9.8
msrc
4 месяца назад

Arbitrary Code Execution via Crafted Keras Config for Model Loading

CVSS3: 9.8
debian
8 месяцев назад

The Keras Model.load_model function permits arbitrary code execution, ...

EPSS

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

7.3 High

CVSS4

Дефекты

CWE-94