~ / search / GHSA-mmx5-32m4-wxvx

GHSA-mmx5-32m4-wxvx

Ineffective privileges drop when requesting container network

Source: GitHub Advisory Database (reviewed) Moderate CVE-2023-38496

Packages

EcosystemPackageAffectedFixed in
Go github.com/apptainer/apptainer >= 1.2.0, < 1.2.1 1.2.1

Details

As written in the advisory (Markdown source, shown as plain text).

### Impact 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. ### Patches The security fix https://github.com/apptainer/apptainer/pull/1578 has been included in Apptainer 1.2.1 ### Workarounds There is no known workaround outside of upgrading to Apptainer 1.2.1

References

External links from the advisory. They lead to third-party sites.