6.1medium
Apptainer's ineffective privileges drop when requesting container network
- Severity
- 6.1medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-mmx5-32m4-wxvxGO-2023-1965
Description
Apptainer is an open source container platform. Version 1.2.0-rc.2 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. A security fix has been included in Apptainer 1.2.1. There is no known workaround outside of upgrading to Apptainer 1.2.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| apptainer apptainer | >= 1.2.0-rc.2, < 1.2.1 | CVE List |
| github.com/apptainer/apptainer (Go) | from 1.2.0 before 1.2.1 | GitHub Advisory Database, Go Vulnerability Database |
| lfprojects apptainer | 1.2.0 | NVD |
All scores
| GitHub_M | 6.1medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H |
| NVD | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
Classification
What each source says
CVE List
Apptainer is an open source container platform. Version 1.2.0-rc.2 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. A security fix has been included in Apptainer 1.2.1. There is no known workaround outside of upgrading to Apptainer 1.2.1.
GitHub Advisory Database
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
Go Vulnerability Database
Ineffective privileges drop when requesting container network in github.com/apptainer/apptainer
References
| https://github.com/apptainer/apptainer/security/advisories/GHSA-mmx5-32m4-wxvx | advisory, patch, vendor-advisory, web | |
| https://github.com/apptainer/apptainer/pull/1523 | fix, patch, web | |
| https://github.com/apptainer/apptainer/pull/1578 | fix, patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-38496 | advisory | |
| https://github.com/apptainer/apptainer | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-38496 changed 2024-10-10 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mmx5-32m4-wxvx changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2023-1965 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2023-38496 changed 2026-06-17 | Public domain |