Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2024-3660 EUVD-2024-1329GHSA-x4wf-678h-2pmqPYSEC-2026-369

Arbitrary code injection vulnerability in Keras framework < 2.13

Published Apr 16, 2024 · Updated Feb 13, 2025 · Assigned by certcc

Description

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.

Affected products

VendorProductAffectedFixed
tensorflow keras < 2.13 2.13

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 keras No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS keras No fix yet —
Ubuntu 18.04 LTS keras No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) keras No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI keras < 2.13.1rc0 2.13.1rc0 GHSA-x4wf-678h-2pmq

References