What’s Vulnerable › Vulnerabilities

CVE-2025-65105: Apptainer ineffective application of selinux and apparmor --security options

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.

Affected products

How to fix

Upgrade to a fixed version: apptainer 1.4.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-65105 or the next vulnerability affects your stack