[ 
https://issues.apache.org/jira/browse/MESOS-7476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16005407#comment-16005407
 ] 

James Peach commented on MESOS-7476:
------------------------------------

{quote}
Even if we clear the task's effective/permitted/inheritable capabilities, the 
task can still gain those capabilities by exec'ing some crafted binary in the 
image?
{quote}

Yes, that is correct. The task can gain privilege be executing files with 
capabilities attached as long as it has those capabilities in its bounding set.

> Restrict capabilities to only the bounding set.
> -----------------------------------------------
>
>                 Key: MESOS-7476
>                 URL: https://issues.apache.org/jira/browse/MESOS-7476
>             Project: Mesos
>          Issue Type: Bug
>          Components: containerization
>            Reporter: James Peach
>            Assignee: James Peach
>
> As a security improvement, it would be useful to be able to set the bounding 
> capability set without also granting those capabilities. This is what the 
> {{--allowed_capabilities}} flag sounds like it does.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to