Ineffective privileges drop when requesting container network
Moderate severity
GitHub Reviewed
Published
Jul 24, 2023
in
apptainer/apptainer
•
Updated Nov 5, 2023
Package
Affected versions
>= 1.2.0, < 1.2.1
Patched versions
1.2.1
Description
Published to the GitHub Advisory Database
Jul 25, 2023
Reviewed
Jul 25, 2023
Published by the National Vulnerability Database
Jul 25, 2023
Last updated
Nov 5, 2023
Impact
Fix apptainer/apptainer#1523 included in Apptainer 1.2.0-rc.2 has introduced an ineffective privilege drop when requesting container network setup, therefore subsequent functions are called with root privileges. The attack surface is rather limited for users but an attacker could possibly craft a starter config to delete any directory on the host filesystems. Only affects setuid installations of Apptainer.
Patches
The security fix apptainer/apptainer#1578 has been included in Apptainer 1.2.1
Workarounds
There is no known workaround outside of upgrading to Apptainer 1.2.1
References