keras@3.6.0 vulnerabilities

Multi-backend Keras

  • latest version

    3.9.2

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    17 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the keras package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Deserialization of Untrusted Data

    keras is a Keras is a high-level neural networks API for Python..

    Affected versions of this package are vulnerable to Deserialization of Untrusted Data in the load_model() function, which uses pickle for serialization. An attacker can execute code even if safe_mode is set to True, by supplying a malicious .keras file. The included config.json can be manipulated to point to and load npz model files containing executable code.

    How to fix Deserialization of Untrusted Data?

    Upgrade keras to version 3.9.0 or higher.

    [,3.9.0)