Fix https://github.com/apptainer/apptainer/pull/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.
The security fix https://github.com/apptainer/apptainer/pull/1578 has been included in Apptainer 1.2.1
There is no known workaround outside of upgrading to Apptainer 1.2.1
{ "nvd_published_at": "2023-07-25T22:15:10Z", "cwe_ids": [ "CWE-269" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2023-07-25T13:52:20Z" }