Description
Apptainer is an open source container platform. In Apptainer versions less than 1.4.5, a container can disable two of the forms of the little used --security option, in particular the forms --security=apparmor:<profile> and --security=selinux:<label> which otherwise put restrictions on operations that containers can do. The --security option has always been mentioned in Apptainer documentation as being a feature for the root user, although these forms do also work for unprivileged users on systems where the corresponding feature is enabled. Apparmor is enabled by default on Debian-based distributions and SElinux is enabled by default on RHEL-based distributions, but on SUSE it depends on the distribution version. This vulnerability is fixed in 1.4.5.
Problem types
CWE-61: UNIX Symbolic Link (Symlink) Following
CWE-706: Use of Incorrectly-Resolved Name or Reference
Product status
References
github.com/...tainer/security/advisories/GHSA-j3rw-fx6g-q46j
github.com/...s/runc/security/advisories/GHSA-cgrx-mc8f-2prm
github.com/...larity/security/advisories/GHSA-wwrx-w7c9-rf87
github.com/apptainer/apptainer/pull/3226
github.com/...ommit/4313b42717e18a4add7dd7503528bc15af905981
github.com/...ommit/82f17900a0c31bc769bf9b4612d271c7068d8bf2