Re:Docker execs strings to boot up linux containers
by peterwwillis on Thursday December 18, 2014 @11:47AM
(#8768160)
It's not a problem. The poster didn't put a description of what the issue was, so I would say this post should be flagged, personally
[ Parent
| on HN ]
Re:Docker execs strings to boot up linux containers
by PeterWhittaker on Thursday December 18, 2014 @12:24PM
(#8768428)
Well, not necessarily. It would be much less of a problem if a) a full path name were provided and b) care was taken to ensure that the path name separator had not been overridden.
As written, or with 'a' but not 'b', there may be a possibility of an attacker manipulating $PATH to cause their own identically-named executable to be invoked with Docker's own privileges.