INCIDENT MAP

Browse / Unsafe Model Loading and Supply Chain / CVE-2024-3660

Keras code injection vulnerability

CVE-2024-3660 ยท 2024-04-16 critical

Class
Unsafe Model Loading and Supply Chain (filed by a model that read the advisory)
Technique
Code and command execution
Affected
keras (PyPI)
CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.7% chance of exploitation in 30 days

How it works, in short

Loading a crafted Keras model file lets embedded code run with the permissions of the host application. (Our summary, written by a model. The source text is below.)

Details

A arbitrary code injection vulnerability in TensorFlow's Keras framework (<2.13) allows attackers to execute arbitrary code with the same permissions as the application using a model that allow arbitrary code irrespective of the application.

References

Source: GitHub Advisory Database, used under CC BY 4.0.