shivasurya/code-pathfinder
critical Docker Socket Exposed to Container
sast-engine/docker-compose.yml:17
[Service: web] Service mounts Docker socket. The owner of this socket is root. Giving container access to it is equivalent to giving unrestricted root access to host.
CWE-250 open
Code
sast-engine/docker-compose.yml14 - seccomp:unconfined
15 - label:disable
16 volumes:
17 - /var/run/docker.sock:/var/run/docker.sock
18
19 app:
20 image: myapp:latest
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.