Vulnerability Details : CVE-2023-38496
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.
Products affected by CVE-2023-38496
- cpe:2.3:a:lfprojects:apptainer:1.2.0:-:*:*:*:go:*:*
- cpe:2.3:a:lfprojects:apptainer:1.2.0:rc2:*:*:*:go:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-38496
0.06%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 18 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-38496
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
3.3
|
LOW | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
1.8
|
1.4
|
NIST | |
6.1
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H |
1.8
|
4.2
|
GitHub, Inc. |
CWE ids for CVE-2023-38496
-
The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.Assigned by: security-advisories@github.com (Secondary)
-
The product does not drop privileges before passing control of a resource to an actor that does not have those privileges.Assigned by: security-advisories@github.com (Secondary)
References for CVE-2023-38496
-
https://github.com/apptainer/apptainer/pull/1523
Set real UID to zero when escalating privileges for CNI plugins to fix issue appeared with RHEL 9.X (release 1.2) by cclerget · Pull Request #1523 · apptainer/apptainer · GitHubPatch
-
https://github.com/apptainer/apptainer/pull/1578
Restore old syscall setresuid behavior when escalating/dropping privileges. by cclerget · Pull Request #1578 · apptainer/apptainer · GitHubPatch
-
https://github.com/apptainer/apptainer/security/advisories/GHSA-mmx5-32m4-wxvx
Ineffective privileges drop when requesting container network · Advisory · apptainer/apptainer · GitHubPatch;Vendor Advisory
Jump to