Логотип 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

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

7.3 High

CVSS4

Дефекты

CWE-94

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

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

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
11 месяцев назад

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
11 месяцев назад

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
6 месяцев назад

Arbitrary Code Execution via Crafted Keras Config for Model Loading

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

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

EPSS

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

7.3 High

CVSS4

Дефекты

CWE-94