remote code execution
A vulnerability that lets an attacker run their own code on your server over the network.
An attacker can run arbitrary commands with the service’s permissions.
In more detail
It is among the most severe kinds of vulnerability. What an attacker can do afterwards depends on what the process can reach and who it runs as.
Example
Production images omit compilers and shells and run as non-root.Related terms
- non-root user — An ordinary user account with limited rights, which a container should run its service as.
- minimal base image — A base image with as little inside as possible, such as Alpine, a slim variant or a distroless image, to shrink size and attack surface.
- container escape — An attack where code inside a container breaks out and gains control of the host.
Taught in
- Containerization Architecture: Multi-Stage Dockerfiles — Production Full-Stack Engineering