p PatchFirst

CVE-2025-65105

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

CVSS 4.5 · Medium · EPSS 0.2% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

apk list -I -o apptainer
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="apptainer"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • apptainer

    Versions
    • < 1.4.5: Affected

    No fix published

  • apptainer Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 1.4.5-r0

    Update to 1.4.5-r0

  • apptainer Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 1.4.5-r0

    Update to 1.4.5-r0

  • apptainer Ubuntu 25.10

    Versions
    • 1.4.0-5
    • 1.4.0-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • apptainer Ubuntu 26.10

    Versions
    • 1.4.5-1
    • 1.4.5-2ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • apptainer Ubuntu 26.04 LTS

    Versions
    • 1.4.0-6
    • 1.4.4-1
    • 1.4.4-2
    • 1.4.5-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →