Compose service runs unconfined (seccomp or AppArmor disabled)
ID |
compose_unconfined_security_opt |
Severity |
high |
Remediation Complexity |
trivial |
Remediation Risk |
medium |
Remediation Effort |
low |
Vendor |
Docker |
Resource |
General Security |
Tags |
ASVS50:v13.1.1, reachable |
Description
A Docker Compose service turns off one of the kernel confinement profiles through security_opt.
seccomp:unconfined removes the syscall filter that blocks most of the kernel’s attack surface from
the container, and apparmor:unconfined removes the mandatory access control profile. Both are
usually switched off to make one syscall work, and both give up the confinement for every other call
as well.