apparmor/profiles
Ryan Lee ab3ca1a93f profiles: fix non-user-namespace-related sandbox bypass in unshare profile
The unshare-userns-restrict profile contained a cx transition to
transition to a profile that allows most things while denying
capabilities:

audit allow cx /** -> unpriv,

However, this transition does not stack the unshare//unpriv profile
against any other profile the target binary might have had. As a result,
the lack of stacking resulted in a non-namespace-related sandboxing
bypass in which attachments of other profiles that should have confined
the target binary do not get applied. Instead, we adopt a stack similar
to the one in bwrap-userns-restrict, with the exception that unshare
does not use no-new-privs and therefore only needs a two-layer stack
instead of a three-layer stack.

Signed-off-by: Ryan Lee <ryan.lee@canonical.com>
2025-02-11 11:55:19 -08:00
..
apparmor/profiles/extras profiles: fix non-user-namespace-related sandbox bypass in unshare profile 2025-02-11 11:55:19 -08:00
apparmor.d Merge profiles: add frr related profiles 2025-02-08 05:50:13 +00:00
Makefile Check if all profiles and abstractions contain abi/4.0 2024-10-06 12:07:58 +02:00