CVE-2023-38496: Apptainer's ineffective privileges drop when requesting container network

Published Jul 25, 2023
·
Updated

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

Other sources

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 Software

3 affected componentsFixes available
go/github.com/apptainer/apptainer>=1.2.0<1.2.1
1.2.1
Lfprojects Apptainer Go=1.2.0
Lfprojects Apptainer Go=1.2.0-rc2

Event History

Jul 25, 2023
Advisory Published
01:52 PM
CVE Published
via MITRE·09:02 PM
Data Sourced
via MITRE·09:02 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-38496?

CVE-2023-38496 is a vulnerability in Apptainer, an open source container platform, that allows subsequent functions to be called with root privileges.

2

What is the impact of CVE-2023-38496?

The impact of CVE-2023-38496 is that subsequent functions are called with root privileges, potentially exposing the system to unauthorized access or privilege escalation.

3

Which versions of Apptainer are affected by CVE-2023-38496?

Apptainer versions 1.2.0-rc.2 and 1.2.0 are affected by CVE-2023-38496.

4

How can I fix CVE-2023-38496?

To fix CVE-2023-38496, update Apptainer to version 1.2.1 or higher.

5

Where can I find more information about CVE-2023-38496?

You can find more information about CVE-2023-38496 at the following references: [GitHub Advisory](https://github.com/apptainer/apptainer/security/advisories/GHSA-mmx5-32m4-wxvx), [GitHub Pull Request](https://github.com/apptainer/apptainer/pull/1578), [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-38496).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203