Published issues
NIXPKGS-2025-0003
published on 30 Oct 2025
updated 4 months, 1 week ago
by @LeSuisse
Activity log
-
Created automatic suggestion
5 months, 1 week ago
-
@Erethon
dismissed
4 months, 1 week ago
-
@Erethon
marked as untriaged
4 months, 1 week ago
-
@LeSuisse
removed
package python312Packages.tf-keras
4 months, 1 week ago
-
@balsoft
added
package python312Packages.tf-keras
4 months, 1 week ago
-
@balsoft
dismissed
4 months, 1 week ago
-
@LeSuisse
accepted
4 months, 1 week ago
-
@LeSuisse
removed
package python312Packages.tf-keras
4 months, 1 week ago
-
@LeSuisse
published on GitHub
4 months, 1 week ago
Arbitary Code execution in Keras load_model()
The Keras Model.load_model method can be exploited to achieve arbitrary code execution, even with safe_mode=True.
One can create a specially crafted .h5/.hdf5 model archive that, when loaded via Model.load_model, will trigger arbitrary code to be executed.
This is achieved by crafting a special .h5 archive file that uses the Lambda layer feature of keras which allows arbitrary Python code in the form of pickled code. The vulnerability comes from the fact that the safe_mode=True option is not honored when reading .h5 archives.
Note that the .h5/.hdf5 format is a legacy format supported by Keras 3 for backwards compatibility.
Matching in nixpkgs
Multi-backend implementation of the Keras API, with support for TensorFlow, JAX, and PyTorch
NIXPKGS-2025-0001
published on 29 Oct 2025
updated 4 months, 1 week ago
by @balsoft
Activity log
-
Created automatic suggestion
5 months, 2 weeks ago
-
@balsoft
added
maintainer @balsoft
4 months, 1 week ago
-
@balsoft
accepted
4 months, 1 week ago
-
@balsoft
published on GitHub
4 months, 1 week ago
Udisks: out-of-bounds read in udisks daemon
A flaw was found in the Udisks daemon, where it allows unprivileged users to create loop devices using the D-BUS system. This is achieved via the loop device handler, which handles requests sent through the D-BUS interface. As two of the parameters of this handle, it receives the file descriptor list and index specifying the file where the loop device should be backed. The function itself validates the index value to ensure it isn't bigger than the maximum value allowed. However, it fails to validate the lower bound, allowing the index parameter to be a negative value. Under these circumstances, an attacker can cause the UDisks daemon to crash or perform a local privilege escalation by gaining access to files owned by privileged users.
Matching in nixpkgs
Daemon, tools and libraries to access and manipulate disks, storage devices and technologies