CVE-2025-65105 Apptainer ineffective application of selinux and apparmor --security options
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
8 packages: 5 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/apptainer(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/apptainer(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/apptainer(Alpine v3.23) | < 1.4.5-r0 | 1.4.5-r0 | Fixed |
| alpine/apptainer(Alpine v3.24) | < 1.4.5-r0 | 1.4.5-r0 | Fixed |
| apptainer(Go) | < 1.4.5 | 1.4.5 | Fixed |
| debian/apptainer(Debian 14) | < 1.4.5-1; = 1.4.0-2; = 1.4.0-3; = 1.4.0-4 +7 more | 1.4.5-1 | Fixed |
| lfprojects apptainer | < 1.4.5 | 1.4.5 | Fixed |
| apptainer | = < 1.4.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apptainer(Go) | < 1.4.5 | 1.4.5 |
| debian/apptainer(Debian:14) | < 1.4.5-1 | 1.4.5-1 |
| debian/apptainer(Debian:14) | = 1.4.0-2 | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.0-3 | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.0-4 | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.0-5 | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.0-6 | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.0-7 | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.2-1 | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.2-2 | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.4-1 | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.4-2 | No fix listed |
| apptainer | = < 1.4.5 | No fix listed |
| alpine/apptainer(Alpine:v3.23) | < 1.4.5-r0 | 1.4.5-r0 |
| alpine/apptainer(Alpine:v3.24) | < 1.4.5-r0 | 1.4.5-r0 |
| ubuntu/apptainer(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/apptainer(Ubuntu:26.10) | All versions | No fix listed |
| lfprojects apptainer | < 1.4.5 | 1.4.5 |
References
- https://github.com/apptainer/apptainer/security/advisories/GHSA-j3rw-fx6g-q46j patch vendor-advisory
- https://github.com/opencontainers/runc/security/advisories/GHSA-cgrx-mc8f-2prm not-applicable vendor-advisory
- https://github.com/sylabs/singularity/security/advisories/GHSA-wwrx-w7c9-rf87 not-applicable vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/apptainer/apptainer/pull/3226 issue-tracking patch
- https://github.com/apptainer/apptainer/commit/4313b42717e18a4add7dd7503528bc15af905981 patch
- https://github.com/apptainer/apptainer/commit/82f17900a0c31bc769bf9b4612d271c7068d8bf2 patch
- github.com product
- security-tracker.debian.org vendor-advisory
- github.com
- security.alpinelinux.org vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2418392 issue-tracking
- www.cve.org
- Ubuntu CVE tracker vendor-advisory