A security team is evaluating a microservices environment where untrusted code executes inside application containers on a shared host operating system. The development team asserts that Linux control groups (cgroups) and namespaces provide the same level of boundary separation as a hardware-assisted Type-1 hypervisor. Which of the following security risks should the security team highlight as the primary concern with this architecture?
- AContainer namespaces configure virtual hardware abstraction layers that eliminate access to physical system hardware devices.
- A kernel-level privilege escalation vulnerability inside a container can lead to a host compromise because containers share the host kernel.Answer
- CTraffic routed between container instances on an internal container bridge network is inherently trusted and does not require explicit access rules.
- DStatic image scanning acts as an inline preventive control to intercept active memory execution attacks at runtime.
Answer
A kernel-level privilege escalation vulnerability inside a container can lead to a host compromise because containers share the host kernel.
The correct option correctly points out that application containers share the host operating system kernel. While Linux namespaces and control groups isolate system resource views and restrict resource usage, they do not create a separate guest kernel or hardware virtualization layer. Consequently, a privilege escalation flaw or zero-day vulnerability in the host kernel can allow a container escape, granting full host access.
Step-by-Step Solution
Key Concept
Container Isolation vs Virtual Machine Hypervisor Boundaries