| パッケージ | 影響を受けるバージョン | 修正済みバージョン |
|---|---|---|
| keras | ≥ 3.0.0, < 3.8.0≥ 3.0.0, < 3.9.0 | 3.8.03.9.0 |
| keras | ≥ 3.0.0, < 3.8.0 | 3.8.0 |
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.
This problem is fixed starting with version 3.9.
Only load models from trusted sources and model archives created with Keras.
これらの製品をお使いですか?サイトをスキャンして、脆弱なバージョンが公開されていないか確認しましょう。
無料でサイトをスキャン