keras is vulnerable to Unsafe Deserialization
75
High Risk
Affected versions of this package are vulnerable to unsafe deserialization due to the use of numpy.load with allow_pickle=True when loading NPZ files. Since this function relies on pickle for deserialization, it poses a security risk when handling untrusted data. An attacker could exploit this by crafting a malicious model file, potentially leading to arbitrary code execution when unsuspecting users load the model in keras.
You are affected if you are using a version that falls within the vulnerable range.
keras is vulnerable to Unsafe Deserialization in versions 3.0.0 - 3.8.0.
Upgrade the keras library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant