Distro advisory · SUSE Package Hub 15 SP5
Security update for apptainer
SUSE Package Hub 15 SP5
What it fixes
Description of the patch:
This update for apptainer fixes the following issues:
Make sure, digest values handled by the Go library github.com/opencontainers/go-digest and used throughout the Go-implemented containers ecosystem are always validated. This prevents attackers from triggering unexpected authenticated registry accesses. (CVE-2024-3727, boo#1224114).
Updated apptainer to version 1.3.0
setuid-mount extfs = no (the default) in
apptainer.conf, then the fuse2fs image driver will be used to mount
ext3 images in setuid mode instead of the kernel driver (ext3 images
are primarily used for the --overlay feature), restoring
functionality that was removed by default in Apptainer 1.1.8 because
of the security risk.
The allow setuid-mount squashfs configuration option in
apptainer.conf now has a new default called iflimited which allows
kernel squashfs mounts only if there is at least one limit container
option set or if Execution Control Lists are activated in ecl.toml.
If kernel squashfs mounts are are not allowed, then the squashfuse
image driver will be used instead.
iflimited is the default because if one of those limits are used
the system administrator ensures that unprivileged users do not have
write access to the containers, but on the other hand using FUSE
would enable a user to theoretically bypass the limits via ptrace()
because the FUSE process runs as that user.
The fuse-overlayfs image driver will also now be tried in setuid
mode if the kernel overlayfs driver does not work (for example if
one of the layers is a FUSE filesystem). In addition, if allow setuid-mount encrypted = no then the unprivileged gocryptfs…Manual fix · SUSE Package Hub 15 SP5
sudo zypper refreshsudo zypper update apptainer apptainer-leap apptainer-sle15_5 apptainer-sle15_6 libsquashfuse0 squashfuse …rpm -q apptainer apptainer-leap apptainer-sle15_5 apptainer-sle15_6 libsquashfuse0 squashfuse …Sources