Cloud Concepts, Architecture and Design

Containers on one host share the host operating system kernel. Which risk does this sharing create most directly?

Show the answer

Correct answerD. Container escape through a kernel vulnerability

AWhy not this: Cold start latency is a performance trait of serverless functions, not a security risk of a shared kernel.

BWhy not this: Data remanence concerns leftover data on storage media, not kernel sharing between containers.

CWhy not this: Hypervisor escape applies to VMs separated by a hypervisor, not to containers sharing a kernel.

DWhy this is right: Because all containers use the same kernel, a kernel flaw can let a process break out of its container.

Containers isolate processes with namespaces and cgroups but run on a single shared kernel, so a kernel flaw can let an attacker break out and reach other containers or the host. Hypervisor escape concerns virtual machines, each of which has its own guest kernel.