shivasurya/code-pathfinder
critical Service Running in Privileged Mode
sast-engine/docker-compose.yml:6
[Service: web] Service is running in privileged mode. This grants container equivalent of root capabilities on the host machine. Can lead to container escapes and privilege escalation.
CWE-250 open
Code
sast-engine/docker-compose.yml3services:
4 web:
5 image: nginx:latest
6 privileged: true
7 network_mode: host
8 pid: host
9 ipc: host
Seen on 8 scans
Get this for your repo.
Pathfinder runs the same scan on your own repos free. Connect via GitHub in 30 seconds.