Re:Rootless Docker in a Multi-User Environment – It's All Ab...
by bjoli on Sunday May 26, 2024 @01:49AM
(#40480033)
How are they considered insecure?
[ Parent
| on HN ]
Re:Rootless Docker in a Multi-User Environment – It's All Ab...
by itsphilos on Sunday May 26, 2024 @07:41AM
(#40481401)
I think OP is referring to the "unprivileged user namespaces" [1] feature of Linux, which caused numerous security incidents in the past. AFAIK, this is mainly because with this feature enabled, unprivilged users can create environments/namespaces which allow them to exploit kernel bugs much more easily. Most of them revolve around broken permission checks (read: root inside container but not outside, yet feature X falsely checks for the permissions _inside_). [2] has a nice list of CVEs caused by unprivileged user namespaces.
Given that rootful docker e.g. is also prone to causing security issues, it's ultimately an attacker model / pick-your-poison situation though.
[1] https://www.man7.org/linux/man-pages/man7/user_namespaces.7....
Re:Rootless Docker in a Multi-User Environment – It's All Ab...
by curt15 on Sunday May 26, 2024 @09:10AM
(#40481886)
Doesn't the Chromium sandbox, the gold standard for browser sandboxes, use user namespaces?
https://chromium.googlesource.com/chromium/src/+/HEAD/docs/l...