Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. keras
  4. ›
  5. CVE-2024-3660

CVE-2024-3660: Keras code injection vulnerability

April 16, 2024 (updated August 2, 2024)

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

  • github.com/advisories/GHSA-x4wf-678h-2pmq
  • github.com/keras-team/keras
  • github.com/keras-team/keras/compare/r2.12...r2.13
  • kb.cert.org/vuls/id/253266
  • nvd.nist.gov/vuln/detail/CVE-2024-3660
  • www.kb.cert.org/vuls/id/253266

Code Behaviors & Features

Detect and mitigate CVE-2024-3660 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.13.1rc0

Fixed versions

  • 2.13.1rc0

Solution

Upgrade to version 2.13.1rc0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/keras/CVE-2024-3660.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:53 +0000.