3 ms·
Containers share kernels between tenants; that's the point of the design. The shared kernel is a huge security problem; it's easy to rattle off kernel LPEs that
by tptacek 4y ago
Containers share kernels between tenants; that's the point of the design. The shared kernel is a huge security problem; it's easy to rattle off kernel LPEs that no realistic syscall filter would have prevented and that would pop a container runtime.
It is not similarly easy to do that with a lightweight hypervisor.
- nerpderp82 4y agoHow so? virtio is pretty small surface area, go out far enough and everything is pure computation.
- tptacek 4y agoMy argument is empirical. I can name recent LPEs that bypass MAC and sandbox policies; it is not easy to name comparable hypervisor escapes. Shared-kernel container escapes are found so often they're not even all that memorable.
- nerpderp82 4y ago> Shared-kernel container escapes are found so often they're not even all that memorable. Agreed. I realized I inverted your hypervisor comment. Hypervisors have the compact contract that has any reasonable chance at being audited. Container security is basically a screen door.