Advisory

GHSA-mmx5-32m4-wxvx

Also known as: CVE-2023-38496, GO-2023-1965

Summary

Ineffective privileges drop when requesting container network

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-07-25 13:52 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

github.com/apptainer/apptainer

Go · All systems

Affected

  • introduced 1.2.0, fixed 1.2.1 (semver)

Fixed versions

1.2.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences