kernel exploit
An attack that abuses a bug in the kernel to gain powers the attacker should not have.
One kernel bug can compromise every container on the host at once.
In more detail
Every container on a host makes system calls into the same kernel, so a kernel flaw is a flaw for all of them at once. That is why hosts need prompt kernel updates, why seccomp limits exposed system calls, and why untrusted workloads are put behind a hypervisor.
Related terms
- kernel — The core of an operating system that controls the hardware and decides what every program is allowed to do.
- container escape — An attack where code inside a container breaks out and gains control of the host.
- seccomp — A Linux kernel feature that blocks a process from making system calls it has no need for.
- hypervisor — Software that lets one physical computer run several virtual machines by imitating hardware for each of them.
Taught in
- Namespaces And Cgroups: Isolation And Limits — Docker Architecture & Production Containers