Lucene search

K
githubGitHub Advisory DatabaseGHSA-MMX5-32M4-WXVX
HistoryJul 25, 2023 - 1:52 p.m.

Ineffective privileges drop when requesting container network

2023-07-2513:52:20
CWE-269
GitHub Advisory Database
github.com
10
privilege drop
container network
security fix
apptainer 1.2.0-rc.2
attack surface
setuid installations
arbitrary file deletion
host filesystems
apptainer 1.2.1
upgrading

CVSS3

6.1

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H

EPSS

0.001

Percentile

20.2%

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

Affected configurations

Vulners
Node
apptainerapptainerRange1.2.01.2.1
VendorProductVersionCPE
apptainerapptainer*cpe:2.3:a:apptainer:apptainer:*:*:*:*:*:*:*:*

CVSS3

6.1

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H

EPSS

0.001

Percentile

20.2%