Arbitrary Code Injection Affecting keras package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.75% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-KERAS-12195012
  • published10 Nov 2026
  • disclosed16 Apr 2024

Introduced: 16 Apr 2024

CVE-2024-3660  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:20.04 keras.

NVD Description

Note: Versions mentioned in the description apply only to the upstream keras package and not the keras package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.