جزئیات آسیبپذیری
CVE-2025-9905
keras-team Keras
Arbitary Code execution in Keras load_model()
CVSS 4.0
7.3بالا
شرح رسمی (انگلیسی)
The Keras Model.load_model method can be exploited to achieve arbitrary code execution, even with safe_mode=True. One can create a specially crafted .h5/.hdf5 model archive that, when loaded via Model.load_model, will trigger arbitrary code to be executed. This is achieved by crafting a special .h5 archive file that uses the Lambda layer feature of keras which allows arbitrary Python code in the form of pickled code. The vulnerability comes from the fact that the safe_mode=True option is not honored when reading .h5 archives. Note that the .h5/.hdf5 format is a legacy format supported by Keras 3 for backwards compatibility.
امتیازهای CVSS
| امتیاز | نسخه | منبع | بردار |
|---|---|---|---|
| 7.3بالا | 4.0 | CVEProject cvelistV5 (CNA) (Google) | CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
محصولات آسیبپذیر
| فروشنده | محصول | نسخهها | منبع |
|---|---|---|---|
| keras-team | Keras | 3.0.0 ≤ v ≤ 3.11.2 | CVEProject cvelistV5 (CNA) |
منابع و راهنماها
۲
هشدار CVEهای بعدی این محصولمحصول را دنبال کنید تا آسیبپذیریهای تازه را در تلگرام بگیرید.
اطلاعات
- تاریخ انتشار
- ۱۴۰۴/۰۶/۲۸
- آخرین بهروزرسانی
- ۱۴۰۴/۱۲/۰۷
- وضعیت
- منتشرشده
- صادرکننده (CNA)
پیشبینی بهرهبرداری (EPSS)
۰٫۲۲٪
احتمال بهرهبرداری در ۳۰ روز
۱۲٫۷٪
صدک (نسبت به همهی CVEها)
ارزیابی SSVC (CISA)
- قابل خودکارسازی
- خیر
- وضعیت بهرهبرداری
- ندارد
- اثر فنی
- کامل
ضعفها (CWE)
- CWE-913Improper Control of Dynamically-Managed Code Resources